From df5c6b897e558e86b0692672c49155b212627fcf Mon Sep 17 00:00:00 2001 From: Siarhei Dudko Date: Fri, 29 Dec 2023 14:44:56 +0400 Subject: [PATCH] test --- src/components/auth/Action.tsx | 2 +- src/screens/BaseScreen.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/auth/Action.tsx b/src/components/auth/Action.tsx index bd30a75..e98e01c 100644 --- a/src/components/auth/Action.tsx +++ b/src/components/auth/Action.tsx @@ -26,7 +26,7 @@ export default function Action() { isShown: boolean; } ); - const [searchParams, setSearchParams] = useSearchParams(); + const [searchParams] = useSearchParams(); const mode: (typeof modes)[number] = modes.includes( searchParams.get("mode") as any ) diff --git a/src/screens/BaseScreen.tsx b/src/screens/BaseScreen.tsx index ed8ea6c..1427fe9 100644 --- a/src/screens/BaseScreen.tsx +++ b/src/screens/BaseScreen.tsx @@ -12,7 +12,7 @@ import SignUp from "../components/auth/SignUp"; import Recovery from "../components/auth/Action"; export default function BaseScreen() { - const [user, loading] = useAuthState(FirebaseAuth); + const [, loading] = useAuthState(FirebaseAuth); const { REACT_APP_AUTH_SIGNIN, REACT_APP_AUTH_SIGNUP,