From e956017bc1efa0f26c03326fc6134947467af11c Mon Sep 17 00:00:00 2001 From: hackrush Date: Thu, 2 Nov 2017 02:28:19 +0530 Subject: [PATCH] Possible fix for regression in previous commit --- ui/js/reducers/claims.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/ui/js/reducers/claims.js b/ui/js/reducers/claims.js index 169792e1e..270790d8f 100644 --- a/ui/js/reducers/claims.js +++ b/ui/js/reducers/claims.js @@ -153,7 +153,6 @@ reducers[types.ABANDON_CLAIM_STARTED] = function(state, action) { reducers[types.ABANDON_CLAIM_SUCCEEDED] = function(state, action) { const { claimId } = action.data; - const myClaims = new Set(state.myClaims); const byId = Object.assign({}, state.byId); const claimsByUri = Object.assign({}, state.claimsByUri); @@ -164,10 +163,8 @@ reducers[types.ABANDON_CLAIM_SUCCEEDED] = function(state, action) { }); delete byId[claimId]; - myClaims.delete(claimId); return Object.assign({}, state, { - myClaims, byId, claimsByUri, });