execute error page hooks

This commit is contained in:
cudr
2019-04-06 02:32:11 +03:00
parent 7be7e1eb9f
commit 3a9d457389
6 changed files with 80 additions and 21 deletions

View File

@@ -1,3 +1,17 @@
<script>
import { onMount, onDestroy } from 'svelte'
export let status, error = {};
let mounted = false;
onMount(() => {
mounted = 'success';
})
</script>
<h1>{status}</h1>
<p>{error.message}</p>
<h2>{mounted}</h2>
<p>{error.message}</p>