Skip to content

Commit

Permalink
Fix broken dynamic Tailwind class
Browse files Browse the repository at this point in the history
  • Loading branch information
demccormack committed Oct 21, 2023
1 parent 1e59c59 commit 6a7c042
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,11 @@ function MenuItemHeader({
onChange={() => setVideoSource?.(url)}
/>
<span
className={`inline-block ${
videoSource === url ? 'animate-bounce ' : ''
}before:content-['🔸']`}
className={
videoSource === url
? "inline-block animate-bounce before:content-['🔸']"
: "inline-block before:content-['🔸']"
}
></span>
{` ${name}`}
</label>
Expand Down

0 comments on commit 6a7c042

Please sign in to comment.