aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes')
-rw-r--r--src/routes/+layout.svelte2
-rw-r--r--src/routes/[username]/+page.svelte2
-rw-r--r--src/routes/invoice/[id]/+page.svelte2
-rw-r--r--src/routes/logout/+page.svelte2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte
index e8db3665..13bf646e 100644
--- a/src/routes/+layout.svelte
+++ b/src/routes/+layout.svelte
@@ -5,7 +5,7 @@
import { connect } from '$lib/socket';
import { user, token, rate, rates, selectedRate } from '$lib/store';
import { page } from '$app/stores';
- import { browser } from '$app/env';
+ import { browser } from '$app/environment';
import { goto } from '$app/navigation';
import { LoadingSplash } from '$comp';
import { warning, protectedRoutes } from '$lib/utils';
diff --git a/src/routes/[username]/+page.svelte b/src/routes/[username]/+page.svelte
index 51940ffd..0d1986ba 100644
--- a/src/routes/[username]/+page.svelte
+++ b/src/routes/[username]/+page.svelte
@@ -1,5 +1,5 @@
<script>
- import { browser } from '$app/env';
+ import { browser } from '$app/environment';
import { onMount } from 'svelte';
import { AppHeader, Icon, PageNotFound } from '$comp';
import { user } from '$lib/store';
diff --git a/src/routes/invoice/[id]/+page.svelte b/src/routes/invoice/[id]/+page.svelte
index a76d4bc2..e8d5562c 100644
--- a/src/routes/invoice/[id]/+page.svelte
+++ b/src/routes/invoice/[id]/+page.svelte
@@ -1,6 +1,6 @@
<script>
import { get, post, reverseFormat } from '$lib/utils';
- import { browser } from '$app/env';
+ import { browser } from '$app/environment';
import { invoices, user } from '$lib/store';
import { Icon, Image, Qr } from '$comp';
import { goto, invalidate } from '$app/navigation';
diff --git a/src/routes/logout/+page.svelte b/src/routes/logout/+page.svelte
index 2c6a7085..5fd88bec 100644
--- a/src/routes/logout/+page.svelte
+++ b/src/routes/logout/+page.svelte
@@ -1,6 +1,6 @@
<script>
import { onMount } from 'svelte';
- import { browser } from '$app/env';
+ import { browser } from '$app/environment';
import { user, token } from '$lib/store';
onMount(() => {