Skip to content

Commit

Permalink
Updated error template
Browse files Browse the repository at this point in the history
  • Loading branch information
amr3k authored Dec 25, 2024
1 parent ac10174 commit 2a0e5d7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import { GenerateConfig, ProjectType, Resource } from '../types';

const defaultScriptTemplate = `
<script>
import { page } from '$app/stores';
import { page } from '$app/state';
</script>
<h1>{$page.status}: {$page.error.message}</h1>
<h1>{page.status}: {page.error.message}</h1>
`;

const tsScriptTemplate = `
Expand Down

0 comments on commit 2a0e5d7

Please sign in to comment.