Refactor login (#748)

* wip refactor login

* wip refactor login

* Fix lint conflicts

* Complete Sign In only

* Feature complete

* Fix test

* Fix test
This commit is contained in:
Charles Bochet
2023-07-21 22:05:45 -07:00
committed by GitHub
parent 725a46adfa
commit 775b4c353d
49 changed files with 758 additions and 764 deletions

View File

@ -17,11 +17,11 @@ import SubNavbar from '@/ui/navbar/components/SubNavbar';
export function SettingsNavbar() {
const theme = useTheme();
const { logout } = useAuth();
const { signOut } = useAuth();
const handleLogout = useCallback(() => {
logout();
}, [logout]);
signOut();
}, [signOut]);
return (
<SubNavbar backButtonTitle="Settings">