feat: add deep link customization
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<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")} />
|
||||
Reference in New Issue
Block a user