From 1c37f385c5d2a728222c5f9c981e7dce6c0e42e7 Mon Sep 17 00:00:00 2001 From: Choi JunHo Date: Wed, 3 Jul 2024 11:47:17 +0900 Subject: [PATCH] Feat: Add spinner and status change --- src/ui/pages/admin/login.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/ui/pages/admin/login.tsx b/src/ui/pages/admin/login.tsx index dd7d0aa..a99d591 100644 --- a/src/ui/pages/admin/login.tsx +++ b/src/ui/pages/admin/login.tsx @@ -1,5 +1,6 @@ import React, { useState } from 'react'; import { useUser, handleLogin } from '../../../api/admin-login'; +import { CircularProgress } from '@mui/material'; export default function Login() { const [email, setEmail] = useState(''); @@ -66,13 +67,13 @@ export default function Login() { /> - {isError ?
다시 로그인해주세요
: ''} + {isError ? '' :
다시 로그인해주세요
}