fixed dispatch eslint errors
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import { NextPage } from "next";
|
||||
import { ReactNode } from "react";
|
||||
|
||||
const AuthLayout: NextPage<
|
||||
Readonly<{
|
||||
|
||||
@@ -14,7 +14,7 @@ export const Login = () => {
|
||||
if (status === "authenticated") {
|
||||
navigate.push("/");
|
||||
}
|
||||
}, [session, navigate]);
|
||||
}, [session, navigate, status]);
|
||||
|
||||
useEffect(() => {
|
||||
const signInWithCode = async () => {
|
||||
|
||||
Reference in New Issue
Block a user