Skip to content

Commit

Permalink
Add case color
Browse files Browse the repository at this point in the history
  • Loading branch information
huy232 committed Feb 2, 2024
1 parent a571fb3 commit 53677e0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Components/Content/RecommendENG/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,10 @@ function RecommendENG({ recommend, setLoading, title = "RELATIONS" }) {
className="line-clamp-2 font-extrabold"
style={{
color:
item.coverImage.color || COLORLIST[i] || "#fffc",
item?.coverImage?.color ||
item?.color ||
COLORLIST[i] ||
"#fffc",
}}
>
{item.title.english ||
Expand Down

0 comments on commit 53677e0

Please sign in to comment.