Skip to content

Commit

Permalink
Update sveltekit.md
Browse files Browse the repository at this point in the history
`$app/env` was renamed to `$app/environment` on [PR#6334](sveltejs/kit#6334)
  • Loading branch information
Dilden authored Oct 5, 2022
1 parent ce948b5 commit 4ad77ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/frameworks/sveltekit.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The best place to include the `ReloadPrompt` is on the main layout of the applic
```html
<script>
import { onMount } from 'svelte'
import { browser, dev } from '$app/env'
import { browser, dev } from '$app/environment'
let ReloadPrompt
onMount(async () => {
Expand Down

0 comments on commit 4ad77ee

Please sign in to comment.