refactored Authentication

This commit is contained in:
2026-02-17 16:51:47 +00:00
parent 13e8866875
commit d32d0f5c03
45 changed files with 1322 additions and 66 deletions
@@ -0,0 +1,17 @@
import { useEffect } from 'react';
import { useAuth } from 'hooks/useAuth';
export const SignoutScreen = () => {
const { signout } = useAuth();
useEffect(() => {
const logout = async () => {
await signout();
window.location.href = '/';
};
logout();
}, []);
return null;
};