From c2e079d0cce1e6c48ada4f3a6f7ccea1eb4f30d6 Mon Sep 17 00:00:00 2001 From: MinamiFunakoshiTR Date: Wed, 12 Mar 2025 08:22:37 -0700 Subject: [PATCH] cleanup --- src/components/EndNotes/EndNotes.svelte | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/src/components/EndNotes/EndNotes.svelte b/src/components/EndNotes/EndNotes.svelte index 019be9ab..32a7ab6e 100644 --- a/src/components/EndNotes/EndNotes.svelte +++ b/src/components/EndNotes/EndNotes.svelte @@ -20,20 +20,18 @@ notes: EndNote[]; } - let { notes = [] }: Props = $props(); + let { notes }: Props = $props(); - {#if notes} - {#each notes as note} -
- -
-
- -
- {/each} - {/if} + {#each notes as note} +
+ +
+
+ +
+ {/each}