Factor primary nav spaces into its own component, fix non-nip29 default page
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user