Skip to content

Commit

Permalink
test(ActionForm): make onSubmit values required
Browse files Browse the repository at this point in the history
  • Loading branch information
petermakowski committed Feb 29, 2024
1 parent b4309c8 commit 50cc5d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/base/components/ActionForm/ActionForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const ActionForm = <V extends object, E = null>({

return (
<FormikForm<V, E>
onSubmit={(values?, formikHelpers?) => {
onSubmit={(values, formikHelpers) => {
onSubmit(values, formikHelpers);
// Set selected count in component state once form is submitted, so
// that the saving label is not affected by updates to the component's
Expand Down

0 comments on commit 50cc5d6

Please sign in to comment.