-
Notifications
You must be signed in to change notification settings - Fork 2
feat: 편지 게시글 공유 기능 구현 (mock api) #53
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
Changes from 12 commits
2314228
d494ef2
8d1e9ea
1aab4b6
043eba9
d701aac
643474c
67a50da
eed3dfc
176f6eb
9ce9dcc
4419526
c3f1580
f8eef9b
c5d82c9
5fe1152
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,14 +1,8 @@ | ||
| import { useEffect } from 'react'; | ||
|
|
||
| import { useIncomingLettersStore } from '@/stores/incomingLettersStore'; | ||
|
|
||
| //TODO: 내 편지함 상세 조회에서 해당 편지를 조회하면 arrivedCount가 1 감소하도록 | ||
| const NewLetterModal = () => { | ||
| const { arrivedCount, fetchIncomingLetters } = useIncomingLettersStore(); | ||
|
|
||
| useEffect(() => { | ||
| fetchIncomingLetters(); | ||
| }, []); | ||
| const { arrivedCount } = useIncomingLettersStore(); | ||
|
||
|
|
||
| return ( | ||
| <p className="text-gray-60 body-b absolute top-30 mb-10 w-fit animate-pulse rounded-full bg-white px-6 py-4"> | ||
|
|
||
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.
제 타입이랑 겹치진 않았지만 앞에 형용사? 같은게 붙어있으면 좋을거 같아용
Uh oh!
There was an error while loading. Please reload this page.
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.
Letter->ShareLetter으로 수정했습니다!