From 6438d8e9b43b3fdffbdd25a9c96da9d074f5961c Mon Sep 17 00:00:00 2001 From: Pheuw1 Date: Sat, 18 Mar 2023 13:38:24 +0100 Subject: [PATCH] small change content --- front/volume/src/components/Alert/content.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/front/volume/src/components/Alert/content.ts b/front/volume/src/components/Alert/content.ts index f6b626e..233a10c 100644 --- a/front/volume/src/components/Alert/content.ts +++ b/front/volume/src/components/Alert/content.ts @@ -6,10 +6,6 @@ import { bind } from 'svelte-simple-modal'; let val; export async function show_popup(message, form = true) { - const unsub = popup.subscribe((value) => {val = value}) - unsub() - if (val != null) - return popup.set(bind(Alert__SvelteComponent_, { message, form