Skip to content

Commit

Permalink
fix storybook failure
Browse files Browse the repository at this point in the history
  • Loading branch information
bozana committed Oct 15, 2024
1 parent 8d962a0 commit c551c55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/composables/useForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit c551c55

Please sign in to comment.