fix: useEffect hooks

main
leedom 2 years ago
parent cb210d82e1
commit e5b4cb28fe

@ -522,7 +522,8 @@ export function Chat(props: {
// Textarea Adaptive height
useEffect(() => {
resizeTextarea();
});
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [userInput]);
return (
<div className={styles.chat} key={session.id}>

Loading…
Cancel
Save