fix: text area get cleared on page load
This commit is contained in:
parent
98a03dc4b3
commit
b4270268fb
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…
Reference in a new issue