Skip to content

Commit

Permalink
feat: fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
CarinaDraganJW committed Nov 4, 2024
1 parent 5905464 commit b7c7b53
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/ui-react/src/containers/ShelfList/ShelfList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ const ShelfList = ({ rows }: Props) => {
return (
<section
key={`${index}_${playlist.id}`}
className={classNames(styles.shelfContainer, { [styles.featured]: featured })}
data-testid={testId(`shelf-${featured ? 'featured' : type === 'playlist' ? slugify(title || playlist?.title) : type}`)}
className={classNames(styles.shelfContainer, { [styles.featured]: isFeatured })}
data-testid={testId(`shelf-${isFeatured ? 'featured' : type === 'playlist' ? slugify(title || playlist?.title) : type}`)}
aria-label={title || playlist?.title}
>
<Fade duration={250} delay={index * 33} open>
Expand All @@ -90,7 +90,7 @@ const ShelfList = ({ rows }: Props) => {
playlist={playlist}
watchHistory={type === PersonalShelf.ContinueWatching ? watchHistoryDictionary : undefined}
title={title || playlist?.title}
featured={featured}
featured={isFeatured}
accessModel={accessModel}
isLoggedIn={!!user}
hasSubscription={!!subscription}
Expand Down

0 comments on commit b7c7b53

Please sign in to comment.