diff --git a/src/actions/for/actionsFor.js b/src/actions/for/actionsFor.js index 17337e4a..aea2afe0 100644 --- a/src/actions/for/actionsFor.js +++ b/src/actions/for/actionsFor.js @@ -80,7 +80,7 @@ const createFor = (stateShape, customReducers, pathToLeafOrBranch = []) => { const isBranch = leafOrBranch => ( (!Array.isArray(leafOrBranch) - && typeof leafOrBranch === "object" + && RA.isPlainObj(leafOrBranch) && Object.values(leafOrBranch).length >= 1) )