Improve forms for entering invite codes

This commit is contained in:
Jon Staab
2025-05-20 09:35:33 -07:00
parent 573d4e3cfb
commit 664da505cd
9 changed files with 148 additions and 49 deletions
+4 -2
View File
@@ -1,7 +1,9 @@
<script lang="ts">
import type {Snippet} from 'svelte'
import {page} from "$app/stores"
interface Props {
children?: import("svelte").Snippet
type Props = {
children?: Snippet
}
const {children}: Props = $props()
+4 -2
View File
@@ -1,4 +1,5 @@
<script lang="ts">
import type {Snippet} from "svelte"
import {onMount} from "svelte"
import {page} from "$app/stores"
import {ago, WEEK} from "@welshman/lib"
@@ -16,8 +17,9 @@
import {decodeRelay, userRoomsByUrl} from "@app/state"
import {pullConservatively} from "@app/requests"
import {notifications} from "@app/notifications"
interface Props {
children?: import("svelte").Snippet
type Props = {
children?: Snippet
}
const {children}: Props = $props()