error page added
This commit is contained in:
1 parent
4f9d57c7b0
commit
e7b8921a39
2 files changed
+6
-1
No files matched your search
@@ -0,0 +1,5 @@
|
||||
<script>
|
||||
import { page } from '$app/stores';
|
||||
</script>
|
||||
|
||||
<div>{$page.status}: {$page.error.message}</div>
|
||||
@@ -19,6 +19,6 @@ export const load: PageServerLoad = async ({ url }) => {
|
||||
});
|
||||
|
||||
return {
|
||||
models: models
|
||||
models: models ? models.models : []
|
||||
};
|
||||
};
|
||||
Reference in new issue
Block a user