Skip to content

Commit

Permalink
fix: simplify style condition
Browse files Browse the repository at this point in the history
  • Loading branch information
frodrigo committed Mar 16, 2023
1 parent c96814d commit 1d648b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/UI/FavoriteIcon.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<font-awesome-icon
:icon="[`${isActive ? 'fas' : 'far'}`, 'star']"
:icon="[isActive ? 'fas' : 'far', 'star']"
:class="[
!isActive && !colorLine && 'text-amber-500',
isActive && 'text-amber-500',
Expand Down

0 comments on commit 1d648b1

Please sign in to comment.