Skip to content

Commit

Permalink
Try fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
BenCheung0422 committed Jul 6, 2024
1 parent 7c5cb6b commit a383705
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/+error.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script lang="ts">
import { page } from '$app/stores';
export let msg = $page.error!.message;
export let status = $page.status;
export let status = $page.status.toString();
</script>

<div class="flex flex-col h-screen">
Expand Down
5 changes: 5 additions & 0 deletions src/routes/404/+page.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<script>
import Page from "../+error.svelte";
</script>

<Page msg="Not Found" status="404" />

0 comments on commit a383705

Please sign in to comment.