diff options
author | mat <github@matdoes.dev> | 2022-12-15 14:59:56 -0600 |
---|---|---|
committer | mat <github@matdoes.dev> | 2022-12-15 14:59:56 -0600 |
commit | 6e723aadf6de45a79b4ef64d288ea275628232c5 (patch) | |
tree | c27bcc33aefa9212baf6f3d9c2eb1af88d6c5105 /src/lib | |
parent | 89bf3d31e36ad3bdfd45461ee6fb69a4c791f848 (diff) | |
download | skyblock-stats-6e723aadf6de45a79b4ef64d288ea275628232c5.tar.gz skyblock-stats-6e723aadf6de45a79b4ef64d288ea275628232c5.tar.bz2 skyblock-stats-6e723aadf6de45a79b4ef64d288ea275628232c5.zip |
start updating to sveltekit v1
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/AuctionPriceScatterplot.svelte | 2 | ||||
-rw-r--r-- | src/lib/BackgroundImage.svelte | 2 | ||||
-rw-r--r-- | src/lib/Collapsible.svelte | 2 | ||||
-rw-r--r-- | src/lib/layout/Loader.svelte | 2 | ||||
-rw-r--r-- | src/lib/minecraft/inventory.ts | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/AuctionPriceScatterplot.svelte b/src/lib/AuctionPriceScatterplot.svelte index da1aed2..17a09f1 100644 --- a/src/lib/AuctionPriceScatterplot.svelte +++ b/src/lib/AuctionPriceScatterplot.svelte @@ -1,5 +1,5 @@ <script lang="ts"> - import { browser } from '$app/env' + import { browser } from '$app/environment' import type { ItemAuctionsSchema, SimpleAuctionSchema } from './APITypes' import type { PreviewedAuctionData } from './utils' diff --git a/src/lib/BackgroundImage.svelte b/src/lib/BackgroundImage.svelte index 0b2f043..17d8705 100644 --- a/src/lib/BackgroundImage.svelte +++ b/src/lib/BackgroundImage.svelte @@ -1,6 +1,6 @@ <script lang="ts"> import { onDestroy, onMount } from 'svelte' - import { browser } from '$app/env' + import { browser } from '$app/environment' export let url: string let styleHtml = `<style class="background-image-style">:root{--background:url(${url})}</style>` diff --git a/src/lib/Collapsible.svelte b/src/lib/Collapsible.svelte index a7b6105..68fee79 100644 --- a/src/lib/Collapsible.svelte +++ b/src/lib/Collapsible.svelte @@ -4,7 +4,7 @@ Collapsible content that works without JS but is enhanced by it. --> <script lang="ts"> - import { browser } from '$app/env' + import { browser } from '$app/environment' import { onMount } from 'svelte' import { cleanId } from './utils' diff --git a/src/lib/layout/Loader.svelte b/src/lib/layout/Loader.svelte index 3884e55..dd04924 100644 --- a/src/lib/layout/Loader.svelte +++ b/src/lib/layout/Loader.svelte @@ -1,5 +1,5 @@ <script lang="ts"> - import { browser } from '$app/env' + import { browser } from '$app/environment' import { navigating } from '$app/stores' let progress = 0 diff --git a/src/lib/minecraft/inventory.ts b/src/lib/minecraft/inventory.ts index 227ed0c..5bd79c2 100644 --- a/src/lib/minecraft/inventory.ts +++ b/src/lib/minecraft/inventory.ts @@ -1,6 +1,6 @@ import * as skyblockAssets from 'skyblock-assets' import { vanilla } from '$lib/packs' -import { browser } from '$app/env' +import { browser } from '$app/environment' export interface Item { id?: string |