Skip to content

Commit

Permalink
Make Suspense only wraps MainView
Browse files Browse the repository at this point in the history
  • Loading branch information
AmiyaSX committed Oct 4, 2024
1 parent bedee1a commit 645296f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/app/student/map/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ export default async function Page() {

return (
// TODO: pt-16 is to account for the navbar, will break if navbar size changes
<Suspense>
<div className="flex h-screen pt-16">
<div className="flex h-screen pt-16">
<Suspense>
<MainView
exhibitorsById={exhibitorsByID}
boothsByLocation={boothsByLocation}
boothsById={boothsById}
/>
</div>
</Suspense>
</Suspense>
</div>
)
}

0 comments on commit 645296f

Please sign in to comment.