-
Notifications
You must be signed in to change notification settings - Fork 7
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
[FE] 방 수정 기능 추가(#616) #620
base: develop
Are you sure you want to change the base?
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.
frontend/src/@types/roomInfo.ts
Outdated
} | ||
|
||
export interface SubmitRoomInfo extends BaseRoomInfo { | ||
id?: number; |
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.
id 가 없는 경우도 있나요?
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.
roomId 인데 방 생성할 땐 roomId가 필요 없습니다.
(본인이 만들어 주셨어요🤗)
@@ -12,7 +12,7 @@ const sampleRoomList = { | |||
| "MANAGER" | |||
| "PULL_REQUEST_NOT_SUBMITTED", | |||
memberRole: roomInfo.memberRole as "BOTH" | "REVIEWER" | "REVIEWEE" | "NONE", | |||
message: "FAIL시 오류 메시지", | |||
classification: roomInfo.classification as "ALL" | "FRONTEND" | "BACKEND" | "ANDROID", |
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.
왜 의도적으로 as 를 사용해서 변환하는지
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.
json 데이터는 타입을 인식하지 못 해서 타입 단언해 주어야 합니다. (프론트한테 와서 왜 이러세요🤩👍)
📓 스토리북 링크
바로가기
📌 관련 이슈
✨ PR 세부 내용
RoomFormLayout
으로 옮겼습니다