Skip to content

Commit

Permalink
fix: Fixed incorrectly spinning icon (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
Manuel S authored Aug 27, 2022
1 parent 67c2f21 commit 6394e50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/button/VideoButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export function VideoButton({ anime, theme, entry, video, ...props }: VideoButto
legacyBehavior>
<Button as="a" {...props}>
<Button as="span" variant="primary" isCircle>
<Icon icon={isPlaying ? faCompactDisc : faPlay} className="fa-spin"/>
<Icon icon={isPlaying ? faCompactDisc : faPlay} className={isPlaying ? "fa-spin" : undefined}/>
</Button>
<VideoTags video={video} hideTextOnMobile/>
</Button>
Expand Down

0 comments on commit 6394e50

Please sign in to comment.