diff --git a/lib/music_library_web/live/collection_live/index.html.heex b/lib/music_library_web/live/collection_live/index.html.heex index 9914937f..7fae1133 100644 --- a/lib/music_library_web/live/collection_live/index.html.heex +++ b/lib/music_library_web/live/collection_live/index.html.heex @@ -51,7 +51,7 @@ <.link :for={artist <- record.artists} class="text-zinc-700 hover:text-zinc-500 dark:text-zinc-400 dark:hover:text-zinc-300" - patch={~p"/artists/#{artist.musicbrainz_id}"} + navigate={~p"/artists/#{artist.musicbrainz_id}"} > {artist.name} diff --git a/lib/music_library_web/live/collection_live/show.html.heex b/lib/music_library_web/live/collection_live/show.html.heex index bc15bf68..a87e1f93 100644 --- a/lib/music_library_web/live/collection_live/show.html.heex +++ b/lib/music_library_web/live/collection_live/show.html.heex @@ -12,7 +12,7 @@ <.link :for={artist <- @record.artists} class="text-zinc-700 hover:text-zinc-500 dark:text-zinc-400 dark:hover:text-zinc-300" - patch={~p"/artists/#{artist.musicbrainz_id}"} + navigate={~p"/artists/#{artist.musicbrainz_id}"} > {artist.name} diff --git a/lib/music_library_web/live/stats_live/data_components.ex b/lib/music_library_web/live/stats_live/data_components.ex index 2a56b2cb..8eaa6bda 100644 --- a/lib/music_library_web/live/stats_live/data_components.ex +++ b/lib/music_library_web/live/stats_live/data_components.ex @@ -29,7 +29,7 @@ defmodule MusicLibraryWeb.StatsLive.DataComponents do <.link :for={artist <- @record.artists} class="text-sm md:text-base lg:text-2xl text-zinc-900 hover:text-zinc-500 dark:text-zinc-300 dark:hover:text-zinc-200" - patch={~p"/artists/#{artist.musicbrainz_id}"} + navigate={~p"/artists/#{artist.musicbrainz_id}"} > {artist.name} diff --git a/lib/music_library_web/live/wishlist_live/index.html.heex b/lib/music_library_web/live/wishlist_live/index.html.heex index ea7fa0f6..a49575a6 100644 --- a/lib/music_library_web/live/wishlist_live/index.html.heex +++ b/lib/music_library_web/live/wishlist_live/index.html.heex @@ -51,7 +51,7 @@ <.link :for={artist <- record.artists} class="text-zinc-700 hover:text-zinc-500 dark:text-zinc-400 dark:hover:text-zinc-300" - patch={~p"/artists/#{artist.musicbrainz_id}"} + navigate={~p"/artists/#{artist.musicbrainz_id}"} > {artist.name} diff --git a/lib/music_library_web/live/wishlist_live/show.html.heex b/lib/music_library_web/live/wishlist_live/show.html.heex index 3cca97e0..f4a04b59 100644 --- a/lib/music_library_web/live/wishlist_live/show.html.heex +++ b/lib/music_library_web/live/wishlist_live/show.html.heex @@ -12,7 +12,7 @@ <.link :for={artist <- @record.artists} class="text-zinc-700 hover:text-zinc-500 dark:text-zinc-400 dark:hover:text-zinc-300" - patch={~p"/artists/#{artist.musicbrainz_id}"} + navigate={~p"/artists/#{artist.musicbrainz_id}"} > {artist.name}