diff --git a/src/page/Auth/Login/index.tsx b/src/page/Auth/Login/index.tsx index 668242a5..72438d62 100644 --- a/src/page/Auth/Login/index.tsx +++ b/src/page/Auth/Login/index.tsx @@ -24,7 +24,7 @@ export default function Login() { const { login, isError: isServerError } = useLogin(); const [isFormError, setIsFormError] = useState(false); const navigate = useNavigate(); - const { loginError, loginErrorCode } = useErrorMessageStore(); + const { loginError, loginErrorStatus } = useErrorMessageStore(); const [emailError, setEmailError] = useState(''); const { value: isModalOpen, changeValue: toggle } = useBooleanState(false); @@ -135,7 +135,7 @@ export default function Login() { - {loginErrorCode === 100005 && isModalOpen && } + {loginErrorStatus === 403 && isModalOpen && } ); } diff --git a/src/page/MyShopPage/components/EditShopInfoModal/index.tsx b/src/page/MyShopPage/components/EditShopInfoModal/index.tsx index 041bfa06..f7c6057f 100644 --- a/src/page/MyShopPage/components/EditShopInfoModal/index.tsx +++ b/src/page/MyShopPage/components/EditShopInfoModal/index.tsx @@ -389,7 +389,7 @@ EditShopInfoModalProps) {