Skip to content

Redirect click on "Ir al artista" label to artist profile on Song Context Menu  #130

Closed
@AntonioMrtz

Description

@AntonioMrtz

Redirect "Ir al artista" button on ContextMenuSong to artist profile page.

Create an onclick event and adapt this code to redirect into /artist/artist_name :

 const navigate = useNavigate();

 const urlUser = `/artist/${name}`;

  const handleClickGoToArtist = (event: any) => {
    event.preventDefault();
    event.stopPropagation();
    navigate(urlUser);
};

imagen

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions