Skip to content

Commit

Permalink
Fix class to show bookmarks colors (codu-code#1177)
Browse files Browse the repository at this point in the history
  • Loading branch information
CarolinaCobo authored and IdrisGit committed Oct 25, 2024
1 parent dc508f0 commit aa097b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions components/ArticleMenu/ArticleMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ const ArticleMenu = ({
}}
>
<HeartIcon
className={`w-6 h-6${
className={`h-6 w-6 ${
data?.currentUserLiked
? "fill-red-400"
: "fill-neutral-400 dark:fill-neutral-600"
Expand All @@ -162,7 +162,7 @@ const ArticleMenu = ({
}}
>
<BookmarkIcon
className={`w-6 h-6${
className={`h-6 w-6 ${
data?.currentUserBookmarked
? "fill-blue-400"
: "fill-neutral-400 dark:fill-neutral-600"
Expand Down
2 changes: 1 addition & 1 deletion components/ArticlePreview/ArticlePreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ const ArticlePreview: NextPage<Props> = ({
}
>
<BookmarkIcon
className={`w-6 h-6${
className={`h-6 w-6 ${
bookmarked
? "fill-blue-400"
: "fill-neutral-400 dark:fill-neutral-600"
Expand Down

0 comments on commit aa097b7

Please sign in to comment.