Refactor: 옵저버 위치 수정

This commit is contained in:
정현조 2024-09-26 15:32:29 +09:00
parent f53f849641
commit 6edb302fb1
2 changed files with 8 additions and 11 deletions

View File

@ -60,7 +60,10 @@ export default function ProjectReviewList() {
<Button variant="outlinePrimary"> </Button>
</Link>
</header>
<div
ref={loadMoreRef}
className="h-1"
/>
<ReviewList
reviews={projectReviews}
activeTab={activeTab}
@ -72,11 +75,6 @@ export default function ProjectReviewList() {
/>
{isFetchingNextPage}
<div
ref={loadMoreRef}
className="h-1"
/>
</div>
</Suspense>
);

View File

@ -60,6 +60,10 @@ export default function WorkspaceReviewList() {
<Button variant="outlinePrimary"> </Button>
</Link>
</header>
<div
ref={loadMoreRef}
className="h-1"
/>
<ReviewList
reviews={workspaceReviews}
@ -72,11 +76,6 @@ export default function WorkspaceReviewList() {
/>
{isFetchingNextPage}
<div
ref={loadMoreRef}
className="h-1"
/>
</div>
</Suspense>
);