Skip to content

Commit

Permalink
Removed useless argument
Browse files Browse the repository at this point in the history
  • Loading branch information
pemoreau committed Oct 10, 2019
1 parent 291ba32 commit 8136185
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ra-tree-core/src/getTreeFromArray.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ export default (data, parentSource) => {
id: 'id',
parentId: parentSource,
})
.map(node => createNode(node, 1))
.map(node => createNode(node))
.map(node => addParent(node, null));
};

0 comments on commit 8136185

Please sign in to comment.