From 8234d601aa2298574852611b9c810559cc38d816 Mon Sep 17 00:00:00 2001 From: hhjk00 Date: Fri, 22 Sep 2023 15:01:34 +0900 Subject: [PATCH] =?UTF-8?q?light=EB=AA=A8=EB=93=9C=20=EB=B3=80=EA=B2=BD=20?= =?UTF-8?q?=EB=A1=9C=EC=A7=81=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/account/login/AccountLogin.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/components/account/login/AccountLogin.js b/src/components/account/login/AccountLogin.js index 1774ed09..25b63313 100644 --- a/src/components/account/login/AccountLogin.js +++ b/src/components/account/login/AccountLogin.js @@ -23,11 +23,9 @@ import { useEffect, useState } from 'react'; import { ErrorModal } from '../../modal/ErrorModal'; import * as Actions from '../../../modules/account/login/actions/authAction'; import { useDispatch, useSelector } from 'react-redux'; -import { useSkin } from '../../../utility/hooks/useSkin'; export const AccountLogin = ({ props }) => { const dispatch = useDispatch(); - const [, setSkin] = useSkin(); const { isLogin, message } = useSelector(state => state.authState); const [loginForm, setLoginForm] = useState({ @@ -87,8 +85,6 @@ export const AccountLogin = ({ props }) => { }, [message]); useEffect(() => { - setSkin('light'); - if (isLogin) { props.history.push('/'); @@ -99,7 +95,9 @@ export const AccountLogin = ({ props }) => { return ( <>
-
+
+ +
{/*
*/}