We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9a8746 commit 359f372Copy full SHA for 359f372
site/src/contexts/auth/AuthProvider.tsx
@@ -83,7 +83,7 @@ export const AuthProvider: FC<PropsWithChildren> = ({ children }) => {
83
const isSigningIn = loginMutation.isLoading;
84
const isUpdatingProfile = updateProfileMutation.isLoading;
85
86
- const signOut = useCallback(async () => {
+ const signOut = useCallback(() => {
87
logoutMutation.mutate();
88
}, [logoutMutation]);
89
0 commit comments