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.
✨ 구현 기능 명세
🎁 PR Point
req.body
를await req.json()
으로 바꾸어주니 잘 되었습니다.function CheckModal({hint, password}:SecretList): JSX.Element
<input type="text" placeholder="글쓴이" onChange={({ target: { value } }) => setWriter(value)}/>
😭 소요 시간, 어려웠던 점
10h
😎 구현 결과물
2022-12-28.4.18.47.mov
2022-12-28.4.29.02.mov
📚 레퍼런스
타입스크립트 초기세팅
타입스크립트 msw
타입스크립트 msw 타입 지정
타입스크립트 msw POST
타입스크립트 msw req.body 에러 해결방법
JSON.parse
POST fetch로 구현
css grid 사용하기
타입스크립트 이벤트 타입 지정