diff --git a/components/reward-calculator/index.js b/components/reward-calculator/index.js index 1e8d6c2e..aabbe880 100644 --- a/components/reward-calculator/index.js +++ b/components/reward-calculator/index.js @@ -212,7 +212,7 @@ const RewardCalculatorPage = () => { const onPayment = async () => { updateTransactionState(Events.INTENT_STAKING); if (transactionHash) setTransactionHash(null); - router.push("/payment", "/payment", "shallow"); + router.push("/payment", "/payment", { shallow: true }); // get(bondedAmount, "currency", 0) === 0 // ? router.push("/payment", "/payment", "shallow") // : openPaymentPopover(); @@ -537,7 +537,8 @@ const RewardCalculatorPage = () => { Non-custodial & Secure - We do not own your private keys and cannot access your funds. You are always in control. + We do not own your private keys and cannot access your + funds. You are always in control. diff --git a/components/validators/index.js b/components/validators/index.js index c9f8cfe3..c8ad8fb1 100644 --- a/components/validators/index.js +++ b/components/validators/index.js @@ -333,7 +333,7 @@ const Validators = () => { const onPayment = async () => { updateTransactionState(Events.INTENT_STAKING); if (transactionHash) setTransactionHash(null); - router.push("/payment", "/payment", "shallow"); + router.push("/payment", "/payment", { shallow: true }); }; const trackRewardCalculatedEvent = debounce((eventData) => {