diff options
| author | Adam Soltys <[email protected]> | 2022-09-02 19:43:12 -0400 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-09-02 19:43:12 -0400 |
| commit | cc01d4333dfe9aca72193d22bed94ddf41cb6048 (patch) | |
| tree | cdd420611645f6e3b0d1c6f5983a7162f5935197 /src/routes | |
| parent | 5b63183d65eba1e5e53696e4bcf92882b5cee900 (diff) | |
| download | coinos-ui-cc01d4333dfe9aca72193d22bed94ddf41cb6048.tar.gz coinos-ui-cc01d4333dfe9aca72193d22bed94ddf41cb6048.zip | |
update browser imports
Diffstat (limited to 'src/routes')
| -rw-r--r-- | src/routes/+layout.svelte | 2 | ||||
| -rw-r--r-- | src/routes/[username]/+page.svelte | 2 | ||||
| -rw-r--r-- | src/routes/invoice/[id]/+page.svelte | 2 | ||||
| -rw-r--r-- | src/routes/logout/+page.svelte | 2 |
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(() => { |
