Skip to content

Commit

Permalink
Add suspense wrappers
Browse files Browse the repository at this point in the history
  • Loading branch information
haydenbleasel committed Sep 30, 2024
1 parent 6f9ca95 commit b3b4cdd
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions app/(pages)/(home)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,18 @@ const Home: FC = () => (
</Suspense>
</div>
<div className="md:col-span-3">
<VideoCard />
<Suspense
fallback={<Skeleton className="h-[433px] w-full rounded-2xl" />}
>
<VideoCard />
</Suspense>
</div>
<div className="md:col-span-3">
<TypefullyCard />
<Suspense
fallback={<Skeleton className="h-[242px] w-full rounded-2xl" />}
>
<TypefullyCard />
</Suspense>
</div>
</div>
</>
Expand Down

0 comments on commit b3b4cdd

Please sign in to comment.