Share styles and update props

This commit is contained in:
thiloho
2024-08-20 19:17:05 +02:00
parent bf791f9bfc
commit 0cbf0bd866
29 changed files with 343 additions and 369 deletions

View File

@@ -7,7 +7,7 @@
import SuccessOrError from "$lib/components/SuccessOrError.svelte";
import type { ActionData, PageServerData } from "./$types";
const { form, data } = $props<{ form: ActionData; data: PageServerData }>();
const { form, data }: { form: ActionData; data: PageServerData } = $props();
</script>
<SuccessOrError success={form?.success} message={form?.message} />