diff --git a/frontend/src/components/home/FeaturedBounties.tsx b/frontend/src/components/home/FeaturedBounties.tsx index 58701e6c2..46889ea0c 100644 --- a/frontend/src/components/home/FeaturedBounties.tsx +++ b/frontend/src/components/home/FeaturedBounties.tsx @@ -39,7 +39,9 @@ export function FeaturedBounties() { {isLoading && (
{Array.from({ length: 4 }).map((_, i) => ( -
+
+
+
))}
)} diff --git a/frontend/src/components/profile/ProfileDashboard.tsx b/frontend/src/components/profile/ProfileDashboard.tsx index 2c509d7aa..65c1dd03b 100644 --- a/frontend/src/components/profile/ProfileDashboard.tsx +++ b/frontend/src/components/profile/ProfileDashboard.tsx @@ -35,7 +35,15 @@ function BountyStatusBadge({ status }: { status: string }) { function MyBountiesTab({ bounties, loading }: { bounties: Bounty[]; loading: boolean }) { if (loading) { - return
Loading...
; + return ( +
+ {Array.from({ length: 5 }).map((_, i) => ( +
+
+
+ ))} +
+ ); } if (!bounties.length) { return ( diff --git a/frontend/src/pages/LeaderboardPage.tsx b/frontend/src/pages/LeaderboardPage.tsx index f79caff97..1c99c9e74 100644 --- a/frontend/src/pages/LeaderboardPage.tsx +++ b/frontend/src/pages/LeaderboardPage.tsx @@ -47,8 +47,17 @@ export function LeaderboardPage() { {/* Loading */} {isLoading && ( -
-
+
+
+ {Array.from({ length: 3 }).map((_, i) => ( +
+
+
+ ))} +
+
+
+
)}