diff --git a/web/components/groups/group-chat.tsx b/web/components/groups/group-chat.tsx index 35de73c5..db7e558b 100644 --- a/web/components/groups/group-chat.tsx +++ b/web/components/groups/group-chat.tsx @@ -93,7 +93,8 @@ export function GroupChat(props: { useEffect(() => { // is mobile? if (width && width > 720) focusInput() - }, [width, focusInput]) + // eslint-disable-next-line react-hooks/exhaustive-deps + }, [width]) function onReplyClick(comment: Comment) { setReplyToUser({ id: comment.userId, username: comment.userUsername })