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 | 6f32c75a0d194babdb4efc0199d5239677947463 (patch) | |
| tree | da9ca6a0bbdab6d05a832c79535791283960413e /src/lib | |
| parent | 83afe0cca59b367a555d8d3e200fd82ae47c09a2 (diff) | |
| download | coinos-ui-6f32c75a0d194babdb4efc0199d5239677947463.tar.gz coinos-ui-6f32c75a0d194babdb4efc0199d5239677947463.zip | |
update browser imports
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/store.js | 2 | ||||
| -rw-r--r-- | src/lib/utils.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/store.js b/src/lib/store.js index 18a8824f..dcc81cda 100644 --- a/src/lib/store.js +++ b/src/lib/store.js @@ -1,5 +1,5 @@ import { get, writable } from 'svelte/store'; -import { browser } from '$app/env'; +import { browser } from '$app/environment'; // creates a Svelte store synced to sessionStorage with the given key and default value const persistSession = (key, defaultValue) => { diff --git a/src/lib/utils.js b/src/lib/utils.js index aa4e3951..401613b8 100644 --- a/src/lib/utils.js +++ b/src/lib/utils.js @@ -1,5 +1,5 @@ import cookie from 'cookie'; -import { browser } from '$app/env'; +import { browser } from '$app/environment'; import { toast } from '@zerodevx/svelte-toast'; export function scroll(section) { |
