-
Notifications
You must be signed in to change notification settings - Fork 6
폴더 수정/삭제 모달 기능 구현 #92
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
Conversation
junjeeong
left a comment
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.
확인이여~
| } catch (error) { | ||
| console.log(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.
value가 없으면 모달이 닫히고 끝나는 건가요??
"값이 반드시 필요합니다" 와 같은 경고 toast가 뜨면 자연스러울 것 같습니다!
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.
네 요건 toast 브랜치에서 작업해서 따로 올릴게요!
mungyun
left a comment
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.
전반적으로 불필요한 console.log도 삭제해주시면 좋을 것 같습니다! 고생하셨어요~
| return ( | ||
| <EditModal | ||
| folderName={props.folderName || "폴더이름"} | ||
| folderId={props.folderId || 1} |
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.
folderId={Number(props.folderId)} 로 수정했습니다
이렇게 하면 값이 없을때는 undefined로 들어가도 에러 발생하지않네요
작업 내용
진행 중 작업