Factor primary nav spaces into its own component, fix non-nip29 default page

This commit is contained in:
Jon Staab
2026-03-12 15:08:31 -07:00
parent 57f2f4a619
commit 77294e7f1c
5 changed files with 53 additions and 44 deletions
+2 -5
View File
@@ -1,10 +1,7 @@
<script lang="ts">
import {page} from "$app/stores"
import {goto} from "$app/navigation"
import {decodeRelay} from "@app/core/state"
import {makeSpacePath} from "@app/util/routes"
import {goToSpace} from "@app/util/routes"
const url = decodeRelay($page.params.relay!)
goto(makeSpacePath(url, "recent"))
goToSpace(decodeRelay($page.params.relay!))
</script>