From 0a89256f81839f4489fe7e15bdcf27eb272ed6ac Mon Sep 17 00:00:00 2001 From: Lewis B Date: Mon, 21 Oct 2024 21:56:32 +0900 Subject: [PATCH] update comment --- packages/sdk-v2/src/sdk/claim/react.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/sdk-v2/src/sdk/claim/react.ts b/packages/sdk-v2/src/sdk/claim/react.ts index 66992930..d1cab4d8 100644 --- a/packages/sdk-v2/src/sdk/claim/react.ts +++ b/packages/sdk-v2/src/sdk/claim/react.ts @@ -110,8 +110,6 @@ export const useMultiClaim = (poolsDetails: PoolDetails[] | undefined) => { // once the next contract is set (status === "None"), perform claim useEffect(() => { - // there can be a delay between sending claim request to wallet and balance update being triggered. - // this can result in state.status still on none, while the original send promise is being handled. // to prevent re-sending the same promise, // we check if the contract is already in the claimedContracts[] array. const isAlreadyPending = claimedContracts.some(c => c.contract === contract);