From 95c14a43600016bf405b557752fad289fb31154a Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Sat, 8 Oct 2022 23:40:33 +0200 Subject: [PATCH] fix: default object options --- src/runtime/components/navigation/CommandPalette.vue | 2 +- src/runtime/components/overlays/ContextMenu.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/runtime/components/navigation/CommandPalette.vue b/src/runtime/components/navigation/CommandPalette.vue index a51abb3914..1fa23cb7ef 100644 --- a/src/runtime/components/navigation/CommandPalette.vue +++ b/src/runtime/components/navigation/CommandPalette.vue @@ -98,7 +98,7 @@ const props = defineProps({ }, options: { type: Object as PropType>>, - default: () => ({}) + default: () => {} }, autoselect: { type: Boolean, diff --git a/src/runtime/components/overlays/ContextMenu.vue b/src/runtime/components/overlays/ContextMenu.vue index 0fa85a1fee..5c1bb8923e 100644 --- a/src/runtime/components/overlays/ContextMenu.vue +++ b/src/runtime/components/overlays/ContextMenu.vue @@ -46,7 +46,7 @@ const props = defineProps({ }, popperOptions: { type: Object as PropType, - default: () => ({}) + default: () => {} } })