Skip to content

Commit

Permalink
Removed unneeded return
Browse files Browse the repository at this point in the history
  • Loading branch information
nacmartin committed Dec 1, 2017
1 parent f523f33 commit fc47721
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/processSubmitErrors.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ const processSubmitErrors = (errors) => {
errors = convertToReduxFormErrors(errors.errors)
throw new SubmissionError(errors)
}
return {} // dont know why original processSubmitErrors return empty object, keep this to prevent any BC break
}

export default processSubmitErrors

0 comments on commit fc47721

Please sign in to comment.