Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/login modal #77

Merged
merged 4 commits into from
Nov 26, 2024
Merged

Feature/login modal #77

merged 4 commits into from
Nov 26, 2024

Conversation

karnelll
Copy link
Contributor

#️⃣연관 이슈

ex) #이슈번호

📝작업 내용

로그인 기능 구현

📸스크린샷

추가 사항

💬리뷰 요구사항(선택)

Copy link

vercel bot commented Nov 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
pingping-fe ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 26, 2024 6:06pm

Copy link
Member

@choihooo choihooo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

다 읽고 달으려했는데 지금 졸려서 집중력 부족이야 일단 우리 내일 api 같은 거도 따로 파일 분리해서 관리하자 점점 많아지니까 코드가 길어지네 파일 분리할 수 있는 거는 최대한 해보자

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

아마 논 멤버 아이디 uri에서 빼야해서 상태관리로 나중에 바꿔야 될 듯 아마 내일..?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

넵!!!!

<div className="inline-flex items-center justify-center gap-[16px]">
{password.map((_, i) => (
<div
key={uuidv4()} // UUID로 고유 key 생성
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

uuid 생성해서 Key 값으로 쓰는 건 좋지만 이러면 입력 필드의 값이 바뀔때마다(setPassword로 상태가 바뀔때 마다) 재렌더링될 가능성이 있어서 uuid를 따로 마운트시에 생성해서 사용하는 것이 좋아보여

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

네!! 감사합니다!!

@karnelll karnelll merged commit 293b9e7 into main Nov 26, 2024
3 checks passed
@karnelll karnelll deleted the feature/loginModal branch November 28, 2024 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants