Skip to content

Commit

Permalink
fix __error.svelte
Browse files Browse the repository at this point in the history
  • Loading branch information
zhammer committed Jun 14, 2021
1 parent 4fa2087 commit 23f5f05
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/routes/__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 lang="ts">
export let status: number;
export let error: Error;
Expand Down

0 comments on commit 23f5f05

Please sign in to comment.