This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
. | |
. | |
import LoadingSpinner from "./LoadingSpinner"; | |
import useAuth from "../hooks/useAuth"; | |
. | |
. | |
const DashboardLayout = () => { | |
const navigate = useNavigate(); | |
const [open, setOpen] = React.useState(true); | |
const { isAuthenticating, isAuthenticated, signOut } = useAuth(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
. | |
. | |
import useAuth from "../hooks/useAuth"; | |
import { useEffect } from "react"; | |
import LoadingSpinner from "../components/LoadingSpinner"; | |
export default function SignIn() { | |
const navigate = useNavigate(); | |
const { signIn, isAuthenticated, isAuthenticating } = useAuth(); | |
. |
OlderNewer