From 5f186ee26d1f5bd6713f70a699398705aa4b1816 Mon Sep 17 00:00:00 2001 From: sk1982 Date: Tue, 2 Apr 2024 01:58:24 -0400 Subject: [PATCH] fix: chuni music list link contains favorite button --- src/app/(with-header)/chuni/music/music-list.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/app/(with-header)/chuni/music/music-list.tsx b/src/app/(with-header)/chuni/music/music-list.tsx index d237688..5a15cb4 100644 --- a/src/app/(with-header)/chuni/music/music-list.tsx +++ b/src/app/(with-header)/chuni/music/music-list.tsx @@ -74,13 +74,15 @@ const MusicGrid = ({ music, size, setMusicList, fullMusicList }: ChuniMusicListP return ( {item => - {setHover =>
setHover(true)} onMouseLeave={() => setHover(false)}>
- {item.title + + {item.title + {item.rating && !item.worldsEndTag &&
{item.rating.slice(0, item.rating.indexOf('.') + 3)} @@ -135,7 +137,7 @@ const MusicGrid = ({ music, size, setMusicList, fullMusicList }: ChuniMusicListP {item.title} {item.artist} - } +
} } ); };