Qnrr 390 스터디 신청 완료 안내 문구 alert로 표시#101
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🌱 연관된 이슈
Qnrr 390
☘️ 작업 내용
Toast 컴포넌트를 개발까지 했으나 적용하는데 어려움이 있었습니다.
스터디 신청에 성공하면 화면을 새로고침하고 바로 Toast를 띄워줘야 합니다. 우선 alert로 처리하였지만, 리팩토링해야 합니다.
Toast로 스터디 신청 성공 안내 문구를 보여주기 위해 제가 생각한 방법은 아래와 같아요.
이 방법이 좋은 방법인지는 모르겠습니다. 더 좋은 방법이 있다면 알려주세요!
그리고 shadcn에서 toast를 구현하기 위해 sonner라는 라이브러리를 설치하라고 명시되어 있습니다. 이걸로 toast 구현하긴 했는데, 다른 분들은 어떻게 생각하시나요?