Skip to content

Commit

Permalink
refactor loading component to display 5 activity cards
Browse files Browse the repository at this point in the history
  • Loading branch information
alvinsjoy committed Aug 17, 2024
1 parent 1bd9bc2 commit 3eddccd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/(root)/activity/loading.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ function Loading() {
<h1 className="head-text">Activity</h1>

<section className="mt-10 flex flex-col gap-5">
{Array.from({ length: 10 }).map((_, i) => (
{Array.from({ length: 5 }).map((_, i) => (
<article key={i} className="activity-card">
<Skeleton className="relative h-5 w-5 rounded-full" />
<Skeleton className="h-4 w-[250px]" />
Expand Down

0 comments on commit 3eddccd

Please sign in to comment.