Make white labeled nav look less bad

This commit is contained in:
Jon Staab
2025-09-05 16:21:17 -07:00
parent e8f785b558
commit 1c37c5bb3d
2 changed files with 13 additions and 2 deletions
+9 -1
View File
@@ -1,6 +1,14 @@
<script lang="ts">
import {onMount} from "svelte"
import {goto} from "$app/navigation"
import {makeSpacePath} from "@app/util/routes"
import {PLATFORM_RELAYS} from "@app/core/state"
onMount(() => goto("/home"))
onMount(() => {
if (PLATFORM_RELAYS.length > 0) {
goto(makeSpacePath(PLATFORM_RELAYS[0]))
} else {
goto("/home")
}
})
</script>