Migrate more stuff

This commit is contained in:
Jon Staab
2025-02-03 16:37:14 -08:00
parent 0f705c459a
commit 8d3433b167
150 changed files with 2001 additions and 1205 deletions
+7 -3
View File
@@ -1,4 +1,6 @@
<script lang="ts">
import {preventDefault} from "svelte/legacy"
import Icon from "@lib/components/Icon.svelte"
import Button from "@lib/components/Button.svelte"
import Spinner from "@lib/components/Spinner.svelte"
@@ -19,12 +21,14 @@
}
}
let loading = false
let loading = $state(false)
</script>
<form class="column gap-4" on:submit|preventDefault={doLogout}>
<form class="column gap-4" onsubmit={preventDefault(doLogout)}>
<ModalHeader>
<div slot="title">Are you sure you want<br />to log out?</div>
{#snippet title()}
<div>Are you sure you want<br />to log out?</div>
{/snippet}
</ModalHeader>
<p class="text-center">Your local database will be cleared.</p>
<ModalFooter>