Add space home page

This commit is contained in:
Jon Staab
2024-10-31 12:24:40 -07:00
parent df947e9fcf
commit 74f9531c5f
34 changed files with 401 additions and 155 deletions
+1 -2
View File
@@ -1,6 +1,5 @@
<script lang="ts">
import {Nip46Broker} from "@welshman/signer"
import {addSession} from "@welshman/app"
import Spinner from "@lib/components/Spinner.svelte"
import Button from "@lib/components/Button.svelte"
import Field from "@lib/components/Field.svelte"
@@ -28,7 +27,7 @@
loading = true
try {
if (!await loginWithNip46(token, {pubkey, relays})) {
if (!(await loginWithNip46(token, {pubkey, relays}))) {
return pushToast({
theme: "error",
message: "Something went wrong, please try again!",