forked from coracle/flotilla
18 lines
458 B
Svelte
18 lines
458 B
Svelte
<script lang="ts">
|
|
import type {Profile} from "@welshman/util"
|
|
import KeyDownload from "@app/components/KeyDownload.svelte"
|
|
import SignUpComplete from "@app/components/SignUpComplete.svelte"
|
|
import {pushModal} from "@app/util/modal"
|
|
|
|
type Props = {
|
|
secret: string
|
|
profile: Profile
|
|
}
|
|
|
|
const {secret, profile}: Props = $props()
|
|
|
|
const next = () => pushModal(SignUpComplete, {secret, profile})
|
|
</script>
|
|
|
|
<KeyDownload {secret} {next} />
|