fix: text area get cleared on page load
This commit is contained in:
parent
e86d021224
commit
b1e020f0a5
1 changed files with 1 additions and 0 deletions
|
@ -34,6 +34,7 @@ export default function useFiglet(defaultFontName = 'standard', htmlElement?: HT
|
|||
}
|
||||
|
||||
function setInputElement(el: HTMLElement) {
|
||||
el.value = ''
|
||||
inputElement = el
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue