Skip to content

Commit 8f0ec60

Browse files
committed
fix(mobile): use ContestCardSkeleton in explore contests carousel
1 parent 1f5a75a commit 8f0ec60

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

packages/mobile/src/screens/explore-screen/components/FeaturedRemixContests.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { exploreMessages as messages } from '@audius/common/messages'
1010
import { FeatureFlags } from '@audius/common/services'
1111

1212
import { useTheme } from '@audius/harmony-native'
13-
import { ContestCard } from 'app/components/contest-card'
13+
import { ContestCard, ContestCardSkeleton } from 'app/components/contest-card'
1414
import { CardList } from 'app/components/core'
1515
import { RemixContestCard } from 'app/components/remix-carousel/RemixContestCard'
1616
import { TrackCardSkeleton } from 'app/components/track/TrackCardSkeleton'
@@ -61,7 +61,9 @@ export const FeaturedRemixContests = () => {
6161
horizontal
6262
carouselSpacing={spacing.l}
6363
isLoading={isAllContestsPending}
64-
LoadingCardComponent={TrackCardSkeleton}
64+
LoadingCardComponent={() => (
65+
<ContestCardSkeleton style={{ minWidth: 250 }} />
66+
)}
6567
/>
6668
) : (
6769
<CardList

0 commit comments

Comments
 (0)