From 0e94a9c33f93e428faeb3e08d7d4c44a10ea781d Mon Sep 17 00:00:00 2001 From: Jon Staab Date: Fri, 24 Oct 2025 10:26:54 -0700 Subject: [PATCH] Use imperative svelte api for modals --- src/app/components/ModalContainer.svelte | 47 +++++++++++++++++------- 1 file changed, 33 insertions(+), 14 deletions(-) diff --git a/src/app/components/ModalContainer.svelte b/src/app/components/ModalContainer.svelte index 6ec5d0e3..16ab720b 100644 --- a/src/app/components/ModalContainer.svelte +++ b/src/app/components/ModalContainer.svelte @@ -1,4 +1,5 @@ -{#if m?.options?.drawer} - - {#key m.id} - - {/key} - -{:else if m} - - {#key m.id} - - {/key} - -{/if} +