import useUserArtists, { useMutationLikeAArtist, } from '@/web/api/hooks/useUserArtists' import Icon from '@/web/components/Icon' import player from '@/web/states/player' import { useParams } from 'react-router-dom' const Actions = () => { const { data: likedArtists } = useUserArtists() const params = useParams() const id = Number(params.id) || 0 const isLiked = !!likedArtists?.data?.find(artist => artist.id === id) const likeArtist = useMutationLikeAArtist() return (
{/* Menu */} {/* Like */}
{/* Listen */}
) } export default Actions