From 4876ad867170b37ac49d5659fbed89ebb890493d Mon Sep 17 00:00:00 2001 From: infinite-persistence Date: Thu, 4 Nov 2021 11:28:14 +0800 Subject: [PATCH] Don't invalidate myClaimIds everytime --- ui/redux/reducers/claims.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/redux/reducers/claims.js b/ui/redux/reducers/claims.js index 2d6adc0c8..1c321d351 100644 --- a/ui/redux/reducers/claims.js +++ b/ui/redux/reducers/claims.js @@ -197,7 +197,7 @@ function handleClaimAction(state: State, action: any): State { claimsByUri: byUri, channelClaimCounts, resolvingUris: Array.from(newResolvingUrls), - myClaims: Array.from(myClaimIds), + ...(!state.myClaims || myClaimIds.size !== state.myClaims.length ? { myClaims: Array.from(myClaimIds) } : {}), }); }