error handling

This commit is contained in:
Rich Harris
2019-01-30 10:25:43 -05:00
parent da540ef15f
commit e4319bee0e

View File

@@ -305,7 +305,8 @@ export function prepare_page(target: Target): Promise<{
};
return {
props: Object.assign({}, props, {
nullable_depth: 0,
data: Object.assign({}, props, {
preloading: false,
child: {
component: ErrorComponent,