Skip to content

Commit

Permalink
add suspense
Browse files Browse the repository at this point in the history
  • Loading branch information
stakbucks committed Aug 18, 2024
1 parent 548c686 commit 932ae03
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions apps/bottle/src/app/my/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,10 @@ export default async function MyPage() {
const serverFetchOptions = myInformationQueryOptions(getServerSideTokens());

return (
<>
<Suspense>
<ServerFetchBoundary fetchOptions={serverFetchOptions}>
<MyInformation />
</ServerFetchBoundary>
</Suspense>
</>
<Suspense>
<ServerFetchBoundary fetchOptions={serverFetchOptions}>
<MyInformation />
</ServerFetchBoundary>
</Suspense>
);
}

0 comments on commit 932ae03

Please sign in to comment.