Initialize toast hook in Login component
cgen-cfdbdd13eb7e4e868bd6115aae22845b
This commit is contained in:
parent
e9fb43706b
commit
ba86ca54b0
1 changed files with 1 additions and 0 deletions
|
|
@ -34,6 +34,7 @@ export default function Login() {
|
|||
const [fullName, setFullName] = useState("");
|
||||
const navigate = useNavigate();
|
||||
const { signIn, signUp, signInWithOAuth, user, loading } = useAuth();
|
||||
const { success: toastSuccess, error: toastError } = useAethexToast();
|
||||
|
||||
// Redirect if already logged in
|
||||
useEffect(() => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue