Skip to content

Commit

Permalink
Fix cluster duplicates. (#539)
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver Ponder authored Mar 27, 2019
1 parent 84b2a68 commit 31a30c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reducers/clusterReducer.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default function clusterReducer(
var prevClusterIDs = Object.keys(state.items).sort();

// use existing state's items and update it
items = Object.assign({}, state.items, action.clusters);
items = Object.assign({}, state.items);

var newClusterIDs = _.map(_.toArray(action.clusters), item => {
return item.id;
Expand Down

0 comments on commit 31a30c3

Please sign in to comment.