From e7a4c6e37b55ec15230449730145c39a8c3b13d8 Mon Sep 17 00:00:00 2001 From: dutexion Date: Wed, 8 May 2024 10:12:07 +0900 Subject: [PATCH] type :: login page type apply --- src/pages/Login.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/Login.tsx b/src/pages/Login.tsx index 04cb079..2c39a2b 100644 --- a/src/pages/Login.tsx +++ b/src/pages/Login.tsx @@ -5,10 +5,11 @@ import { useState } from 'react'; import { login, signup } from '@/utils/apis/auth'; import { Cookie } from '@/utils/cookie'; import { useNavigate } from 'react-router-dom'; +import { SignInType } from '@/utils/types/authType'; export const Login = () => { const link = useNavigate(); - const [data, setData] = useState<{ account_id: string; password: string }>({ account_id: '', password: '' }); + const [data, setData] = useState({ account_id: '', password: '' }); const { account_id, password } = data;