Skip to content

Commit

Permalink
feat: (#619) 통계 페이지 에러바운더리/ 서스펜스 범위 수정
Browse files Browse the repository at this point in the history
- 기존: 글 전체 통계에 서스펜스와 에러바운더리 적용, post api에는 에러바운더리만 적용
- 수정: 글 전체 통계와 post Api 한번에 감싸는 서스펜스와 에러바운더리 적용
  • Loading branch information
chsua committed Sep 18, 2023
1 parent 8e9883b commit 238562d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions frontend/src/pages/VoteStatisticsPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,9 @@ export default function VoteStatisticsPage() {
>
<ErrorBoundary>
<StatisticsWrapper postId={postId} size="md" />
<OptionWrapper postId={postId} />
</ErrorBoundary>
</Suspense>
<ErrorBoundary>
<OptionWrapper postId={postId} />
</ErrorBoundary>
</S.ContentContainer>
</S.Container>
</Layout>
Expand Down

0 comments on commit 238562d

Please sign in to comment.