From f5ee7a4f2329e9dfbb4fedf9cc43fd16718cc5b9 Mon Sep 17 00:00:00 2001
From: Ray Schamp <ray@scratch.mit.edu>
Date: Fri, 12 May 2017 17:42:37 -0400
Subject: [PATCH] Fix argument order for Object.assign

Thanks @paulkaplan
---
 src/reducers/targets.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/reducers/targets.js b/src/reducers/targets.js
index c7a4f4857..0ed67cf2d 100644
--- a/src/reducers/targets.js
+++ b/src/reducers/targets.js
@@ -15,8 +15,8 @@ const reducer = function (state, action) {
                 .filter(target => !target.isStage)
                 .reduce(
                     (targets, target, listId) => Object.assign(
-                        {[target.id]: {order: listId, ...target}},
-                        targets
+                        targets,
+                        {[target.id]: {order: listId, ...target}}
                     ),
                     {}
                 ),
-- 
GitLab