diff --git a/src/pages/RFOX/components/Stake/StakeConfirm.tsx b/src/pages/RFOX/components/Stake/StakeConfirm.tsx index 2c00cc559f3..74cb1a9fd30 100644 --- a/src/pages/RFOX/components/Stake/StakeConfirm.tsx +++ b/src/pages/RFOX/components/Stake/StakeConfirm.tsx @@ -439,9 +439,6 @@ export const StakeConfirm: React.FC = ({ await handleStake() // This isn't a mistake - we invalidate as a cleanup operation before unmount to avoid current subscribers refetching with wrong args, hence making invalidation useless history.push(StakeRoutePaths.Status) - history.push(StakeRoutePaths.Status) - - // This isn't a mistake - we invalidate as a cleanup operation before unmount to avoid current subscribers refetching with wrong args, hence making invalidation useless await queryClient.invalidateQueries({ queryKey: userStakingBalanceOfCryptoBaseUnitQueryKey }) await queryClient.invalidateQueries({ queryKey: newContractBalanceOfCryptoBaseUnitQueryKey }) }, [