Make sure toasts are synced

This commit is contained in:
Claudio Ortolina
2026-03-24 14:01:56 +00:00
parent 35eee4182d
commit 8c7f2f5703
14 changed files with 84 additions and 14 deletions
@@ -16,7 +16,12 @@ defmodule MusicLibraryWeb.MaintenanceLive.Index do
@impl true
def render(assigns) do
~H"""
<Layouts.app flash={@flash} current_section={@current_section} socket={@socket}>
<Layouts.app
flash={@flash}
current_section={@current_section}
socket={@socket}
toasts_sync={assigns[:toasts_sync]}
>
<div>
<h3 class="mt-2 text-base font-semibold text-zinc-900 dark:text-zinc-200">
{gettext("Records")}