local login now functional
This commit is contained in:
parent
3b62d87d31
commit
ae9abaf9fd
9 changed files with 174 additions and 72 deletions
|
|
@ -1,9 +1,9 @@
|
|||
import { useAuth0 } from "@auth0/auth0-react";
|
||||
import { useAuthContext } from "providers/authContext";
|
||||
import LoadingScreen from "app/LoadingScreen";
|
||||
import { useEffect } from "react";
|
||||
|
||||
export default function Logout() {
|
||||
const { logout } = useAuth0();
|
||||
const { logout } = useAuthContext();
|
||||
|
||||
useEffect(() => {
|
||||
logout();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue