From aa6bc28bd19d4dcae752f288a258e5d4248f4fd3 Mon Sep 17 00:00:00 2001 From: BearToCode Date: Sun, 27 Oct 2024 09:40:36 +0100 Subject: [PATCH] fix: remove self-closing tags Remove self-closing tags to prevent warnings in Svelte 5 --- packages/carta-md/src/lib/internal/components/Input.svelte | 2 +- packages/carta-md/src/lib/internal/components/Toolbar.svelte | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/carta-md/src/lib/internal/components/Input.svelte b/packages/carta-md/src/lib/internal/components/Input.svelte index 47ffb3e5..e4f9bcb6 100644 --- a/packages/carta-md/src/lib/internal/components/Input.svelte +++ b/packages/carta-md/src/lib/internal/components/Input.svelte @@ -196,7 +196,7 @@ bind:this={textarea} on:scroll={() => (textarea.scrollTop = 0)} on:keydown={() => (prevValue = value)} - /> + > {#if mounted} diff --git a/packages/carta-md/src/lib/internal/components/Toolbar.svelte b/packages/carta-md/src/lib/internal/components/Toolbar.svelte index e85abd25..c7fabd8d 100644 --- a/packages/carta-md/src/lib/internal/components/Toolbar.svelte +++ b/packages/carta-md/src/lib/internal/components/Toolbar.svelte @@ -98,7 +98,7 @@ {/if} -
+
{#if !(mode === 'tabs' && tab === 'preview')}