Skip to content
This repository was archived by the owner on Jul 10, 2019. It is now read-only.

Commit 5ca8483

Browse files
committed
feat: add required: true to error prop of error.vue
1 parent f44dd80 commit 5ca8483

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/layouts/error.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { Component, Prop, Vue } from 'nuxt-property-decorator'
1313
1414
@Component
1515
export default class Error extends Vue {
16-
@Prop({ type: Object })
16+
@Prop({ type: Object, required: true })
1717
public error: any
1818
}
1919
</script>

0 commit comments

Comments
 (0)