Skip to content

Commit

Permalink
fix(#119): 로그인 시 에러 메세지 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
yyypearl committed Oct 14, 2024
1 parent ea2e15e commit d538287
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/app/login/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,13 @@ import {
} from "@/redux/slices/userSlice";
import { connectSocket, socket } from "@/socket";
import { theme } from "@/styles/theme";
import { clearTokens, getAccessToken, setName, setProfileImg, setToken } from "@/utils/storage";
import {
clearTokens,
getAccessToken,
setName,
setProfileImg,
setToken,
} from "@/utils/storage";
import { AxiosError } from "axios";
import Image from "next/image";
import Link from "next/link";
Expand Down Expand Up @@ -136,6 +142,7 @@ const Login = () => {
setEmail(value);
validateEmail(value);
}}
errorMsg="정보 불일치"
placeholder="이메일 주소"
isValid={emailValid}
/>
Expand All @@ -146,6 +153,7 @@ const Login = () => {
setPassword(value);
validatePassword(value);
}}
errorMsg="정보 불일치"
placeholder="비밀번호"
isValid={passwordValid}
/>
Expand Down

0 comments on commit d538287

Please sign in to comment.