Skip to content

Conversation

@hongggyelim
Copy link
Collaborator

@hongggyelim hongggyelim commented Nov 14, 2024

작업 내용

진행 중 작업

  • 해당 브랜치 merge 후 토스트 작업 PR 올리겠습니다

@hongggyelim hongggyelim self-assigned this Nov 14, 2024
@hongggyelim hongggyelim changed the title 폴더 수정 모달 기능 구현 폴더 수정/삭제 모달 기능 구현 Nov 14, 2024
Copy link
Collaborator

@junjeeong junjeeong left a 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);
}
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

value가 없으면 모달이 닫히고 끝나는 건가요??
"값이 반드시 필요합니다" 와 같은 경고 toast가 뜨면 자연스러울 것 같습니다!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

네 요건 toast 브랜치에서 작업해서 따로 올릴게요!

Copy link
Contributor

@mungyun mungyun left a 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}
Copy link
Contributor

Choose a reason for hiding this comment

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

이렇게 설정하면 id가 중복되는 경우가 발생할 수 있는 것 아닌가요??

Copy link
Collaborator Author

@hongggyelim hongggyelim Nov 14, 2024

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로 들어가도 에러 발생하지않네요

@hongggyelim hongggyelim merged commit af1edc7 into develop Nov 14, 2024
1 check passed
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.

4 participants