Skip to content

Commit

Permalink
Fix default $error.svelte page (#1021)
Browse files Browse the repository at this point in the history
  • Loading branch information
GrygrFlzr authored Apr 14, 2021
1 parent 2fcaa5e commit 8021d6b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/great-queens-rule.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': patch
---

Fix default error page
8 changes: 8 additions & 0 deletions packages/kit/assets/components/error.svelte
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
<script context="module">
export function load({ error, status }) {
return {
props: { error, status }
};
}
</script>

<script>
export let status;
export let error;
Expand Down

0 comments on commit 8021d6b

Please sign in to comment.