mirror of
https://github.com/thiloho/archtika.git
synced 2025-11-22 19:01:35 +01:00
Share styles and update props
This commit is contained in:
@@ -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} />
|
||||
|
||||
Reference in New Issue
Block a user