diff --git a/src/features/auth/components/SignUpForm.tsx b/src/features/auth/components/SignUpForm.tsx index 7a9cfbc1..2fdc6930 100644 --- a/src/features/auth/components/SignUpForm.tsx +++ b/src/features/auth/components/SignUpForm.tsx @@ -3,7 +3,6 @@ import { useState } from 'react'; import { useLocation, useNavigate } from 'react-router-dom'; import ROUTES from 'router/RouteConfig'; import { CmButton2, CmTextInput } from 'shared/components'; -import { useAppSelector } from 'store/hooks'; import { useLogin } from '../hooks'; interface Props { @@ -21,7 +20,7 @@ function SignUpForm({ isLoading, onSignUp }: Props) { const [email, setEmail] = useState({ value: '', touched: false }); const [password, setPassword] = useState({ value: '', touched: false }); const [confirmPassword, setConfirmPassword] = useState({ value: '', touched: false }); - const { loginUserA: loginA, loginGoogleUser } = useLogin(); + const { loginGoogleUser } = useLogin(); const navigate = useNavigate(); const location = useLocation(); function handleSubmit(e?: React.FormEvent) { diff --git a/src/pages/UserAUnauthorizedPages/LoginPage.tsx b/src/pages/UserAUnauthorizedPages/LoginPage.tsx index 59dd6f61..438be4ba 100644 --- a/src/pages/UserAUnauthorizedPages/LoginPage.tsx +++ b/src/pages/UserAUnauthorizedPages/LoginPage.tsx @@ -3,7 +3,6 @@ import { useLocation, useNavigate } from 'react-router-dom'; import { GoogleOAuthProvider, GoogleLogin } from '@react-oauth/google'; import { CredentialResponse } from '@react-oauth/google'; -import { useGoogleLogin } from '@react-oauth/google'; import ROUTES from 'router/RouteConfig'; import { CmBackButton, Page, PageContent } from 'shared/components'; import { LoginForm, RequestPasswordResetModal, useLogin, useResetPassword } from 'features/auth';