From fc477214752cb86f2a1abd09ecaadddd1e0d7e43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nacho=20Mart=C3=ADn?= Date: Fri, 1 Dec 2017 20:24:53 +0100 Subject: [PATCH] Removed unneeded return --- src/processSubmitErrors.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/processSubmitErrors.js b/src/processSubmitErrors.js index 9f8e3c1..a87a1f3 100644 --- a/src/processSubmitErrors.js +++ b/src/processSubmitErrors.js @@ -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