-
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
[#134] 등록 페이지 QA 수정사항 반영 #141
Conversation
Deployment failed with the following error:
|
Deployment failed with the following error:
|
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.
수고하셨습니당~!
setPreview({ ...preview, toAllRooms: e.target.value }); | ||
setPreview({ | ||
...preview, | ||
toAllRooms: e.target.value === 'true' ? '모든 객실' : '일부 객실' |
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.
toAllRooms: !!e.target.value ? '모든 객실' : '일부 객실'
부정 연산자(!
)를 사용하면 === true
를 작성하지 않고도 boolean 값에 따라 판별할 수 있을 것같습니다!
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
close #134
Description