aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/receive.svelte
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-07-30 09:47:08 -0700
committerAdam Soltys <[email protected]>2022-07-30 09:47:08 -0700
commit8acc59a86b6ec049dfe07f92fd19eeda726136f3 (patch)
tree56c6506d19c38a59fba962c53a71526b3a1825b5 /src/routes/receive.svelte
parent1f8b1f52431dc7a95118b310dbca3a178d24614b (diff)
downloadcoinos-ui-8acc59a86b6ec049dfe07f92fd19eeda726136f3.tar.gz
coinos-ui-8acc59a86b6ec049dfe07f92fd19eeda726136f3.zip
logout function
Diffstat (limited to 'src/routes/receive.svelte')
-rw-r--r--src/routes/receive.svelte4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/routes/receive.svelte b/src/routes/receive.svelte
index 760733a3..0329dea4 100644
--- a/src/routes/receive.svelte
+++ b/src/routes/receive.svelte
@@ -4,10 +4,6 @@
import { goto } from '$app/navigation';
import { invoiceAmount, invoiceAmountFiat, rate, user } from '$lib/store';
- if (!$user && typeof window !== 'undefined') {
- window.location = '/login';
- }
-
let useFiat = true;
let amountFiat = 0;
let amountSats = 0;