bump matrix notification check to 60s instead of 1s

(what was i thinking)
This commit is contained in:
Grant 2024-07-15 12:31:43 -06:00
parent c012664613
commit a623f8f568
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ export const ChatContext = ({ children }: PropsWithChildren) => {
useEffect(() => { useEffect(() => {
checkForAccessToken(); checkForAccessToken();
checkNotifs.current = setInterval(checkForNotifs, 1000); checkNotifs.current = setInterval(checkForNotifs, 1000 * 60);
return () => { return () => {
window.removeEventListener("focus", handleWindowFocus); window.removeEventListener("focus", handleWindowFocus);