Skip to content

Conversation

@nidor022
Copy link
Collaborator

📝 작업 내용

api호출 error시 toast띄우기

제꺼 제외하고

  • create-post-page.jsx
  • send-message-page.jsx
  • messages-page.jsx

파일 수정했고

messages-page.jsx 파일에

  • fetchRollingPaper는 바로 404페이지로 이동하기때문에 toast안달았습니다. 흠... 🤔
  • 그리고 handleInfiniteScroll에는 error코드 출력을 위해서 try / catch를 작성했는데 대신 오류가 생기면 무한호출되는 문제가 있어서 hasMoreMessages로 무조건 한번만 호출되도록 처리했습니다... 흠...🤔

@nidor022 nidor022 self-assigned this Aug 25, 2025
@nidor022 nidor022 added this to Rolling Aug 25, 2025
@nidor022 nidor022 linked an issue Aug 25, 2025 that may be closed by this pull request
3 tasks
@nidor022 nidor022 merged commit 176e6a9 into codeit-FE-18-part2:develop Aug 26, 2025
@github-project-automation github-project-automation bot moved this to Done in Rolling Aug 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Error 처리 추가

2 participants