Fix more stuff, particularly event handlers

This commit is contained in:
Jon Staab
2025-02-03 17:21:46 -08:00
parent 8d3433b167
commit 24045a7e2a
150 changed files with 424 additions and 392 deletions
+3 -3
View File
@@ -9,13 +9,13 @@
pubkeys: any
}
let {title, subtitle = "", pubkeys}: Props = $props()
const {subtitle = "", pubkeys, ...restProps}: Props = $props()
</script>
<div class="column gap-4">
<ModalHeader>
{#snippet title()}
<div>{title}</div>
<div>{restProps.title}</div>
{/snippet}
{#snippet info()}
<div>{subtitle}</div>
@@ -26,5 +26,5 @@
<Profile {pubkey} />
</div>
{/each}
<Button class="btn btn-primary" on:click={() => history.back()}>Got it</Button>
<Button class="btn btn-primary" onclick={() => history.back()}>Got it</Button>
</div>