Handle toast messages from inside Release component

This commit is contained in:
Claudio Ortolina
2026-01-27 16:16:28 +00:00
parent 3ba2eb325c
commit 6f4fe163df
4 changed files with 56 additions and 33 deletions
+1
View File
@@ -71,6 +71,7 @@ defmodule MusicLibraryWeb do
def live_component do
quote do
use Phoenix.LiveComponent
import MusicLibraryWeb.Hooks.ShowToast, only: [put_toast!: 2]
unquote(html_helpers())
end