fix: text area get cleared on page load

This commit is contained in:
koehr 2023-12-10 16:22:05 +01:00 committed by Norman Köhring
parent 98a03dc4b3
commit b4270268fb

View file

@ -34,6 +34,7 @@ export default function useFiglet(defaultFontName = 'standard', htmlElement?: HT
}
function setInputElement(el: HTMLElement) {
el.value = ''
inputElement = el
}