Update SvelteKit and breaking imports

This commit is contained in:
2022-08-27 23:16:34 +02:00
parent b87e1f8a56
commit 21dd85940b
5 changed files with 67 additions and 66 deletions

View File

@@ -1,7 +1,7 @@
<script lang="ts">
import '../style/global.scss'
import { browser } from '$app/env'
import { browser } from '$app/environment'
import { navigating, page } from '$app/stores'
import { beforeNavigate } from '$app/navigation'
import type { PageData } from './$types'

View File

@@ -3,7 +3,7 @@
</style>
<script lang="ts">
import { browser } from '$app/env'
import { browser } from '$app/environment'
import { page, navigating } from '$app/stores'
import { goto } from '$app/navigation'
import type { PageData } from './$types'