Fix types

This commit is contained in:
Adria Navarro 2025-02-21 10:32:19 +01:00
parent 25c5f7f70c
commit 6266ae7300
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@
import { setContext, createEventDispatcher, onDestroy } from "svelte"
import { generate } from "shortid"
export let title = null
export let title = ""
export let forceModal = false
const dispatch = createEventDispatcher()

View File

@ -79,7 +79,7 @@
}
</script>
<Drawer bind:this={drawer} forceModal>
<Drawer bind:this={drawer}>
<svelte:fragment slot="title">
{#if snippet}
{snippet.name}