chore: switch focus to textarea when custom model change (still need to figure out reg model change)

This commit is contained in:
Daniel Avila 2023-03-15 18:05:34 -04:00
parent ff45511011
commit d052d221dc
3 changed files with 7 additions and 10 deletions

View file

@ -154,7 +154,7 @@ export default function TextWrapper({ text, generateCursor }) {
return (
<>
{result}
{(<>{generateCursor()}</>)}
{generateCursor()}
</>
);
}