diff options
| author | Adam Soltys <[email protected]> | 2024-09-17 14:05:50 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-09-17 14:05:50 -0700 |
| commit | 404f9a0915258dfe8d0d810e9704e9ec1398f7fa (patch) | |
| tree | e24852f00ab541ff8de94200155bd4a740e9bc21 | |
| parent | 55297eeaae86fee264f6fc05c95bfc703be1056f (diff) | |
| download | coinos-ui-404f9a0915258dfe8d0d810e9704e9ec1398f7fa.tar.gz coinos-ui-404f9a0915258dfe8d0d810e9704e9ec1398f7fa.zip | |
check for user
| -rw-r--r-- | src/routes/(app)/[username]/(profile)/+layout.svelte | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/(app)/[username]/(profile)/+layout.svelte b/src/routes/(app)/[username]/(profile)/+layout.svelte index c4750581..a213e792 100644 --- a/src/routes/(app)/[username]/(profile)/+layout.svelte +++ b/src/routes/(app)/[username]/(profile)/+layout.svelte @@ -27,7 +27,7 @@ $: lnaddr = `${stripped}@${$page.url.host}`; $: profile = `${$page.url.host}/${stripped}`; - $: nwc = `nostr+walletconnect://${pk}?relay=${encodeURIComponent( + $: nwc = user && `nostr+walletconnect://${pk}?relay=${encodeURIComponent( relay )}&secret=${user.nwc}`; |
