Skip to content

Commit

Permalink
fix shouldUpdateInitialValues (#4020)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeniasaigak authored and erikras committed Dec 11, 2018
1 parent 89e900f commit 8ab0ac5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/createReduxForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -991,7 +991,7 @@ const createReduxForm = (structure: Structure<*, *>) => {

let initial = initialValues || stateInitial || empty

if (shouldUpdateInitialValues) {
if (!shouldUpdateInitialValues) {
initial = stateInitial || empty
}

Expand Down

0 comments on commit 8ab0ac5

Please sign in to comment.