-
Notifications
You must be signed in to change notification settings - Fork 1
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
[회원가입] 회원가입 페이지 유저 데이터 입력 로직 구현 및 api 연동 #15
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니다~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨어요~~ 쩝박만든다고 너무 오랜만에 리뷰해서 다시 확인할부분들이 생긴것 같아 죄송합니다..ㅎ
몇가지 생각해볼만한 점들과 바꿀 부분들 작성해두었으니, 시간나실때 확인부탁드려요~~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수고하셨습니다!
다른 사람 코드를 보면서 배우는 게 많은 거 같습니다. 특히 zod를 사용하는 방법에 대해 많이 알아갑니다!!
코드 리뷰 많이 늦어서 죄송합니다... 다음에는 빠르게 코드리뷰 진행하도록 하겠습니다!
const TEMRS = [ | ||
{ | ||
id: 'term_1', | ||
title: '개인정보 이용약관', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utils/constants
상수값을 관리하는 폴더로 이동해도 괜찮을 거 같아요!
@@ -0,0 +1,37 @@ | |||
import { useForm } from 'react-hook-form'; | |||
|
|||
const REG_EX = /^(?=.*[a-zA-Z])(?=.*[0-9])(?=.*[!@#$%^&*])[a-zA-Z0-9!@#$%^&*]{6,18}$/i; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
마찬가지로 상수이므로 utils/constant
에 새로 작성하는 것도 좋아 보입니다!
{ verificateError && <ErrorMessage message={verificateError} />} | ||
{isOpen ? ( | ||
<> | ||
<span className={styles['email-check__alert']}>* 제한시간 5 : 00</span> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이메일을 보내면 제한시간이 줄어드는 기능 구현이 필요해 보입니다!
[회원가입] 회원가입 페이지 유저 데이터 입력 로직 구현 및 api 연동
[#2] request
Please check if the PR fulfills these requirements
develop
branch, not themain
branchdeveop
branch?Screenshot
Precautions (main files for this PR ...)
step
을 통일하기 위해progressStep
과registerStep
분리하여 구현했습니다.