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

View File

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