We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bb502e commit 5db9743Copy full SHA for 5db9743
1 file changed
apps/frontend/src/modules/browse/components/HomePageComponent.tsx
@@ -88,7 +88,8 @@ export const HomePageComponent = () => {
88
<div className='h-6' />
89
<SongCardGroup data-test='recent-songs'>
90
{(recentSongs || []).map((song, i) =>
91
- song === undefined || song === null ? (
+ // TODO: currently null = skeleton, undefined = ad slot. There must be a more robust system to indicate this.
92
+ song === undefined ? (
93
<SongCardAdSlot key={i} />
94
) : (
95
<SongCard key={i} song={song} />
0 commit comments