diff --git a/src/routes/staking.tsx b/src/routes/staking.tsx index 76a813d..9f1d851 100644 --- a/src/routes/staking.tsx +++ b/src/routes/staking.tsx @@ -468,8 +468,8 @@ const Staking = () => { }; const disableClaiming = useMemo(() => { - return totalUnclaimed.isEqualTo(0) || isWaiting; - }, [totalUnclaimed, isWaiting]); + return isWaiting || unclaimedEras.total === 0 && totalUnclaimed.toNumber() > 0; + }, [isWaiting, unclaimedEras, totalUnclaimed]); useEffect(() => { // Load auto-restake value from local storage