Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
epixieme committed Aug 23, 2024
1 parent 3d8be82 commit 76efdcb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions src/features/auth/components/SignUpForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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) {
Expand Down
1 change: 0 additions & 1 deletion src/pages/UserAUnauthorizedPages/LoginPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit 76efdcb

Please sign in to comment.