flotilla/src/routes/join/+page.svelte

19 lines
436 B
Svelte
Raw Normal View History

2025-09-06 00:20:12 +00:00
<script lang="ts">
import {page} from "$app/stores"
import {goto} from "$app/navigation"
import Dialog from "@lib/components/Dialog.svelte"
import SpaceInviteAccept from "@app/components/SpaceInviteAccept.svelte"
2026-01-30 22:14:12 +00:00
const close = () => goto("/home")
2026-01-30 22:14:12 +00:00
const children = {
component: SpaceInviteAccept,
props: {
invite: $page.url.href,
back: close,
2026-01-30 22:14:12 +00:00
},
}
2025-09-06 00:20:12 +00:00
</script>
<Dialog {children} onClose={close} />