From 8dcbae7abcc85b8bd6f0ad4c2320999bfff5ec43 Mon Sep 17 00:00:00 2001 From: Florin Georgescu Date: Mon, 9 Oct 2023 15:55:17 +0300 Subject: [PATCH] Ajusted refresh page after claim all --- services/community-site/src/pages/Staking/Delegation.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/community-site/src/pages/Staking/Delegation.tsx b/services/community-site/src/pages/Staking/Delegation.tsx index aeb6e64e4..360a29729 100644 --- a/services/community-site/src/pages/Staking/Delegation.tsx +++ b/services/community-site/src/pages/Staking/Delegation.tsx @@ -265,7 +265,7 @@ const Delegation = ({ location }: { location: Location }) => { return await claimAllRewards(); }, () => { - setShouldFetch(true); + setFetchCounter((prev) => prev + 1); }, ); };