fix: clear warning state on Decimal.parse error

Explicitly call hide_amount_warning when Decimal.parse returns error.
This commit is contained in:
Moritz 2025-12-26 21:41:14 +01:00
parent 856ce53295
commit 619fdc90af

View file

@ -414,7 +414,7 @@ defmodule MvWeb.MembershipFeeTypeLive.Form do
end
:error ->
socket
hide_amount_warning(socket)
end
end