Skip to content

Commit

Permalink
fix: add handleRest back into Form Component
Browse files Browse the repository at this point in the history
Accidentally removed
  • Loading branch information
MildTomato committed Jun 1, 2022
1 parent 10d6622 commit 14615a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/Form/Form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ export default function Form({ validate, ...props }: Props) {
initialValues: formik.initialValues,
/** Current values of form */
values: formik.values,
/** Resets the form back to initialValues */
handleReset: formik.handleReset,
})}
/>
</form>
Expand Down

0 comments on commit 14615a7

Please sign in to comment.