codestates / codestates/Lollin-client

[Error handling] login, signup, myinfo에서 빈칸입력후 submit 클릭시 validation 미적용 이슈

Open
#79 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

---

**어떤 에러인가요?**
* login, signup, myinfo에서 빈칸입력후 submit 클릭시 validatation 미적용 이슈
* (validation 로직이 적용안되는 문제)

**에러 핸들링 방법**
* useEffect 로직을 추가했더니 작동됨
추가코드
```js
useEffect(
() => {
if (Object.keys(errors).length === 0 && isSubmitting) {
callback();
}
},
[errors]
);
// 빈칸입력후 submit하면 에러 콜백하게
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the login, signup, and myinfo entry points and reading their validation flow. Reproduce submitting each form with blank fields, then compare the current behavior with the reported useEffect logic. Done means blank submissions trigger the validation error callback consistently on all three screens.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
authentication, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.