From 6044a346868482b001a0f8d3a7175d5433db7cac Mon Sep 17 00:00:00 2001 From: core Date: Mon, 2 Jun 2025 23:34:57 -0400 Subject: [PATCH] bug: try to fix some multimap weirdness --- .idea/workspace.xml | 50 +++++++++------------------------- client/src/routes/+page.svelte | 10 ++++--- 2 files changed, 19 insertions(+), 41 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index b204f90..e194d2f 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -7,47 +7,14 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - @@ -248,6 +223,7 @@ - \ No newline at end of file diff --git a/client/src/routes/+page.svelte b/client/src/routes/+page.svelte index 8c0191f..88cdce8 100644 --- a/client/src/routes/+page.svelte +++ b/client/src/routes/+page.svelte @@ -17,13 +17,15 @@ } function removeThisMapFactory(idx: number) { return () => { - maps.splice(idx); + maps.splice(idx, 1); } }
- {#each maps as map, i} - - {/each} + {#key maps} + {#each maps as map, i} + + {/each} + {/key}