Skip to content

Commit

Permalink
test(types): type fixes after handleSubmit sig change
Browse files Browse the repository at this point in the history
  • Loading branch information
logaretm committed Feb 21, 2025
1 parent 4a9be13 commit e4d1c05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/useForm/useForm.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -976,7 +976,7 @@ describe('form validation', () => {
setup() {
const { getSubmitErrors, handleSubmit } = useForm();

return { getSubmitErrors, onSubmit: handleSubmit(() => ({})) };
return { getSubmitErrors, onSubmit: handleSubmit(() => {}) };
},
template: `
<form @submit="onSubmit" novalidate>
Expand Down

0 comments on commit e4d1c05

Please sign in to comment.