config is not always set

This commit is contained in:
Grant 2024-06-04 15:14:21 -06:00
parent d7b253c74b
commit aed4ac497f
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ export const ChatContext = ({ children }: PropsWithChildren) => {
if (checkInterval.current) clearInterval(checkInterval.current);
if (checkNotifs.current) clearInterval(checkNotifs.current);
};
}, []);
}, [config?.chat]);
const handleWindowFocus = () => {
console.log("[Chat] Window has gained focus");