Skip to content

Commit 8503aec

Browse files
committed
fix: thx copilot - add use-effect dependency
1 parent 98f20fa commit 8503aec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/common/utils/SocketProvider/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const SocketProvider = ({ children }: Props) => {
3030
return () => {
3131
unsubscribe?.();
3232
};
33-
}, [queryClient]);
33+
}, [queryClient, setUnreadChatCount]);
3434

3535
return <>{children}</>;
3636
};

0 commit comments

Comments
 (0)