Remove unreachable error clauses in form save helpers

This commit is contained in:
Claudio Ortolina
2026-04-21 12:46:35 +01:00
parent a93ef6d076
commit 29bfa20978
4 changed files with 0 additions and 27 deletions
@@ -605,9 +605,6 @@ defmodule MusicLibraryWeb.Components.RecordForm do
else
{:error, %Ecto.Changeset{} = changeset} ->
{:noreply, assign(socket, form: to_form(changeset))}
{:error, _reason} ->
{:noreply, put_toast(socket, :error, gettext("Failed to store cover image"))}
end
end