-
Notifications
You must be signed in to change notification settings - Fork 0
[Fix] 스케줄 페이지 useSearchParams Suspense 적용으로 배포 500 에러 수정 #99
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
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Comment |
🎨 Storybook Reportℹ️ Story 변경사항이 감지되지 않았습니다 이 PR에는 Story 변경이 없어서 빌드를 스킵했습니다.
|
📊 Coverage Report
📈 #99을 main에 병합하면 coverage가 Coverage 요약@@ Coverage Diff @@
## main #99 +/- ##
===========================================
+ Coverage 36.71% 36.93% +0.22%
===========================================
Files 80 80 0
Lines 3119 3130 +11
Branches 157 158 +1
===========================================
+ Hits 1145 1156 +11
Misses 1974 1974 0 영향받은 파일✅ 이 PR로 영향받은 파일이 없습니다 수정된 모든 파일이 현재 coverage를 유지했습니다. |
🚀 PR Preview Report✨ Build가 성공적으로 완료되었습니다. Preview에서 변경사항을 확인하세요.
|
HopeFullee
left a comment
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.
Layout.tsx 에서 suspense 한번에 걸어주는건 어떨까? 하는 생각이 드네용.
나중에 같이 찾아봐용
너무 좋은 생각입니다 |
📝 변경 사항
스케줄 페이지 배포 환경 500 에러 수정
useSearchParams()를 사용하는 컴포넌트를Suspense로 감싸도록 수정TabNavigation과ScheduleContent를 각각 Suspense로 감싸서 동적 렌더링 처리컴포넌트 구조 개선
ScheduleContent컴포넌트 분리로useSearchParams()사용 부분 명확화🔗 관련 이슈
Closes #
🧪 테스트 방법
pnpm build후 배포 환경에서 500 에러 해결 확인 필요📸 스크린샷 (선택)
UI 변경사항 없음 (기능 수정만 진행)
📋 체크리스트
💬 추가 코멘트
문제 상황
GET /_next/static/chunks/...js net::ERR_ABORTED 500 (Internal Server Error)해결 방법
TabNavigation과ScheduleContent를 각각Suspense로 감싸서 동적 렌더링 처리참고사항
TabNavigation사용 시에도Suspense로 감싸야 함CodeRabbit Review는 자동으로 실행되지 않습니다.
Review를 실행하려면 comment에 아래와 같이 작성해주세요