Skip to content

Commit

Permalink
chore: add required field in the prop definition
Browse files Browse the repository at this point in the history
  • Loading branch information
lauramargar committed Feb 21, 2024
1 parent 377a165 commit 10c4bd3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/x-components/src/components/location-provider.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
name: 'LocationProvider',
props: {
location: {
type: String as PropType<FeatureLocation>
type: String as PropType<FeatureLocation>,
required: true
}
},
setup(props, { slots }) {
Expand Down

0 comments on commit 10c4bd3

Please sign in to comment.