@setoelkahfi / svara / commits / def82f2

fix: notification toast container cleans up properly on close

mellbacon committed Aug 20, 2024 at 18:17 UTC def82f26f03239727c4f1828591da351880801ee
1 file changed +1
src/lib/Notifications/NotificationToast.svelte
+1
@@ -17,6 +17,7 @@
17 onMount(() => {
18 let timer = setTimeout(() => {
19 notification.remove();
20 + closeToast(id)
21 clearTimeout(timer);
22 }, 100000)
23 return () => {