Skip to content
This repository was archived by the owner on Aug 23, 2022. It is now read-only.

Commit dab2f90

Browse files
author
Jack Zhao
committed
add console warn
1 parent a87f3c7 commit dab2f90

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/utils/get-form.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export function getFormStateKey(state, model, s = defaultStrategy, currentPath =
1818

1919
s.keys(state).some((key) => {
2020
if (key === '') {
21+
console.warn('react-redux-form skipped over an empty property key: %s', currentPath);
2122
return false;
2223
}
2324
const subState = s.get(state, key);

0 commit comments

Comments
 (0)