Skip to content

Commit

Permalink
feat : Page Animation 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
guesung committed Nov 9, 2023
1 parent 03ab58d commit 7fda489
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 19 deletions.
30 changes: 14 additions & 16 deletions src/app/[lng]/(main)/grouping/[groupId]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,20 @@ export default function GroupingDetailPage({ params }: GroupingDetailPageProps)
rejectedFallback={RejectedFallback}
pendingFallback={<Loading className="h-[calc(100dvh-48px)]" />}
>
<PageAnimation>
<HydrationProvider
queryMultipleFn={[
() => getGroupDetail(groupId),
() => getGroupMembers(groupId),
() => getNotices(groupId),
]}
queryMultipleKey={[
Keys.getGroupDetail(groupId),
Keys.getGroupMembers(groupId),
Keys.getNotices(groupId),
]}
>
<GroupDetailPage />
</HydrationProvider>
</PageAnimation>
<HydrationProvider
queryMultipleFn={[
() => getGroupDetail(groupId),
() => getGroupMembers(groupId),
() => getNotices(groupId),
]}
queryMultipleKey={[
Keys.getGroupDetail(groupId),
Keys.getGroupMembers(groupId),
Keys.getNotices(groupId),
]}
>
<GroupDetailPage />
</HydrationProvider>
</QueryAsyncBoundary>
</>
);
Expand Down
4 changes: 1 addition & 3 deletions src/app/[lng]/(main)/grouping/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ export default function GroupingPage({ params: { lng } }: GroupingPageProps) {
rejectedFallback={RejectedFallback}
pendingFallback={<Loading className="h-[calc(100dvh-178px)]" />}
>
<PageAnimation>
<GroupingCardList />
</PageAnimation>
<GroupingCardList />
</QueryAsyncBoundary>
<CreateGroupButton />
<Spacing size={60} />
Expand Down

0 comments on commit 7fda489

Please sign in to comment.