From c551c55604938c8627ebd31b2ea53bf0db379851 Mon Sep 17 00:00:00 2001 From: Bozana Bokan Date: Tue, 15 Oct 2024 08:55:03 +0200 Subject: [PATCH] fix storybook failure --- src/composables/useForm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/composables/useForm.js b/src/composables/useForm.js index f0d2ef04..843ee8fd 100644 --- a/src/composables/useForm.js +++ b/src/composables/useForm.js @@ -30,7 +30,7 @@ function mapFromSelectedToValue(selected) { return selected.map((iv) => iv.value); } -export function useForm(_form, {customSubmit}) { +export function useForm(_form, {customSubmit} = {}) { const form = ref(_form); if (customSubmit) {