From 10c4bd34b726260f942f4a55d0f6a6b1819b142e Mon Sep 17 00:00:00 2001 From: Laura Martinez Garcia Date: Wed, 21 Feb 2024 13:37:17 +0100 Subject: [PATCH] chore: add required field in the prop definition --- packages/x-components/src/components/location-provider.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/x-components/src/components/location-provider.vue b/packages/x-components/src/components/location-provider.vue index 76a1a9b9dc..a6edeeba4a 100644 --- a/packages/x-components/src/components/location-provider.vue +++ b/packages/x-components/src/components/location-provider.vue @@ -13,7 +13,8 @@ name: 'LocationProvider', props: { location: { - type: String as PropType + type: String as PropType, + required: true } }, setup(props, { slots }) {