mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-17 06:00:20 +02:00
remove link from artist on feature carousel
This commit is contained in:
@@ -132,21 +132,14 @@ const CarouselItem = ({ album }: CarouselItemProps) => {
|
|||||||
<div className={styles.metadataSection}>
|
<div className={styles.metadataSection}>
|
||||||
<Stack gap="sm">
|
<Stack gap="sm">
|
||||||
{album.albumArtists.slice(0, 1).map((artist) => (
|
{album.albumArtists.slice(0, 1).map((artist) => (
|
||||||
<Link
|
<Text
|
||||||
className={styles.artistLink}
|
className={styles.artist}
|
||||||
|
fw={600}
|
||||||
key={`artist-${artist.id}`}
|
key={`artist-${artist.id}`}
|
||||||
onClick={(e) => {
|
size="md"
|
||||||
e.stopPropagation();
|
|
||||||
}}
|
|
||||||
state={{ item: artist }}
|
|
||||||
to={generatePath(AppRoute.LIBRARY_ALBUM_ARTISTS_DETAIL, {
|
|
||||||
albumArtistId: artist.id,
|
|
||||||
})}
|
|
||||||
>
|
>
|
||||||
<Text className={styles.artist} fw={600} size="md">
|
{artist.name}
|
||||||
{artist.name}
|
</Text>
|
||||||
</Text>
|
|
||||||
</Link>
|
|
||||||
))}
|
))}
|
||||||
<Group gap="sm" justify="center" wrap="wrap">
|
<Group gap="sm" justify="center" wrap="wrap">
|
||||||
{album.genres?.slice(0, 2).map((genre) => (
|
{album.genres?.slice(0, 2).map((genre) => (
|
||||||
|
|||||||
Reference in New Issue
Block a user