Fix state after logging out

This commit is contained in:
Piotr Rogowski 2022-10-30 16:39:16 +01:00
parent 2b790a990b
commit d10dabf04e
No known key found for this signature in database
GPG Key ID: 4A842D702D9C6F8F
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ const TopBar = ({
const logoutClick = useCallback(() => {
logout();
logOutSuccessful();
navigate(Routes.HUB);
navigate(0);
}, [logout, navigate]);
const toggleCommandPalette = useCallback(() => query.toggle(), [query]);