From af393877df709274fc1565d8bbc2974189ef40a5 Mon Sep 17 00:00:00 2001 From: Manan Gouhari Date: Thu, 18 Mar 2021 11:57:51 +0530 Subject: [PATCH] Stepper ui fixed 'transaction' page --- src/pages/tezos/claim-transaction.js | 2 +- src/pages/tezos/transaction.js | 23 +++++++++++++++++++---- 2 files changed, 20 insertions(+), 5 deletions(-) diff --git a/src/pages/tezos/claim-transaction.js b/src/pages/tezos/claim-transaction.js index 172b7388..c118dbfd 100644 --- a/src/pages/tezos/claim-transaction.js +++ b/src/pages/tezos/claim-transaction.js @@ -292,7 +292,7 @@ function Transaction({ location }) { />
= 2 ? 'border-primary-600' : 'border-base-600' }`} >
{ +const Steppers = ({ number, name, clickEvent, step, tick = false }) => { return (
@@ -33,7 +33,11 @@ const Steppers = ({ number, name, clickEvent, tick = false }) => {
) : ( -
+
{number}
)} @@ -236,26 +240,37 @@ function Transaction({ location }) { number="1" name="Confirm Claim" tick={step >= 2} + step={step} clickEvent={e => { e.preventDefault(); // setStep(1); }} /> -
+
= 2 ? 'border-primary-600' : 'border-base-600' + }`} + >
{ e.preventDefault(); // setStep(2); }} /> -
+
{ e.preventDefault(); // setStep(3);