diff --git a/app/components/chat.tsx b/app/components/chat.tsx index b3b8fb01e..689b427a0 100644 --- a/app/components/chat.tsx +++ b/app/components/chat.tsx @@ -522,7 +522,8 @@ export function Chat(props: { // Textarea Adaptive height useEffect(() => { resizeTextarea(); - }); + // eslint-disable-next-line react-hooks/exhaustive-deps + }, [userInput]); return (