Skip to content
Snippets Groups Projects
Commit f5ee7a4f authored by Ray Schamp's avatar Ray Schamp
Browse files

Fix argument order for Object.assign

Thanks @paulkaplan
parent ae529ea2
No related branches found
No related tags found
No related merge requests found
...@@ -15,8 +15,8 @@ const reducer = function (state, action) { ...@@ -15,8 +15,8 @@ const reducer = function (state, action) {
.filter(target => !target.isStage) .filter(target => !target.isStage)
.reduce( .reduce(
(targets, target, listId) => Object.assign( (targets, target, listId) => Object.assign(
{[target.id]: {order: listId, ...target}}, targets,
targets {[target.id]: {order: listId, ...target}}
), ),
{} {}
), ),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment