fix: update dependency array in AppContent useEffect to when to show there is update

https://github.com/donetick/donetick/issues/521
This commit is contained in:
Mo Tarbin
2026-02-14 16:58:03 -05:00
parent 75ac9fd38d
commit 0b7d7bbe7f

View File

@@ -78,7 +78,8 @@ const AppContent = () => {
}, },
}) })
} }
}, [needRefresh, showNotification, updateServiceWorker, setNeedRefresh]) // eslint-disable-next-line react-hooks/exhaustive-deps
}, [needRefresh])
return ( return (
<div> <div>