mirror of
https://github.com/ente-io/ente.git
synced 2025-08-06 06:33:15 +00:00
exhaustive-deps
This commit is contained in:
parent
e5a43e9738
commit
b1af3dbabd
@ -79,7 +79,7 @@ const App: React.FC<AppProps> = ({ Component, pageProps }) => {
|
||||
window.removeEventListener("online", setUserOnline);
|
||||
window.removeEventListener("offline", setUserOffline);
|
||||
};
|
||||
}, []);
|
||||
}, [router]);
|
||||
|
||||
const logout = useCallback(() => {
|
||||
void accountLogout().then(() => window.location.replace("/"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user