Skip to content

Commit

Permalink
fix: remove Supsense in note page detail
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <i@innei.in>
  • Loading branch information
Innei committed Apr 25, 2024
1 parent 8c6dfea commit 3d5a773
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/app/(app)/notes/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/* eslint-disable @typescript-eslint/no-non-null-assertion */

/* eslint-disable react/display-name */
import { Suspense } from 'react'
import type { NoteModel } from '@mx-space/api-client'
import type { Metadata } from 'next'

Expand Down Expand Up @@ -192,9 +191,7 @@ export default definePrerenderPage<NoteDetailPageParams>()({
<RoomProvider roomName={buildRoomName(data.data.id)}>
<Transition className="min-w-0" lcpOptimization>
<Paper key={nid} as={NoteMainContainer}>
<Suspense>
<PageInner data={data.data} />
</Suspense>
<PageInner data={data.data} />
</Paper>
<BottomToUpSoftScaleTransitionView delay={500}>
<CommentAreaRootLazy
Expand Down

0 comments on commit 3d5a773

Please sign in to comment.