17 lines
423 B
Svelte
17 lines
423 B
Svelte
<script lang="ts">
|
|
import {page} from "$app/stores"
|
|
import {goto} from "$app/navigation"
|
|
import Dialog from "@lib/components/Dialog.svelte"
|
|
import IntentHandler from "@app/components/IntentHandler.svelte"
|
|
|
|
const children = {
|
|
component: IntentHandler,
|
|
props: {
|
|
params: $page.url.searchParams,
|
|
back: () => goto("/home"),
|
|
},
|
|
}
|
|
</script>
|
|
|
|
<Dialog {children} onClose={() => goto("/home")} />
|