Skip to content

Commit

Permalink
Enable enableReinitialize on Formik
Browse files Browse the repository at this point in the history
This solves the problem of the parameters form being blank when
navigating back to a page.
  • Loading branch information
jonathansick committed Apr 2, 2024
1 parent 4a4a239 commit 686aa96
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ export default function TimesSquareParameters({}) {

return (
<Formik
enableReinitialize
initialValues={initialValues}
onSubmit={handleFormSubmit}
validate={validate}
Expand Down

0 comments on commit 686aa96

Please sign in to comment.