diff --git a/src/modules/Whitelist/AllowBTCMessage/index.tsx b/src/modules/Whitelist/AllowBTCMessage/index.tsx index cc755ab22..462798e6c 100644 --- a/src/modules/Whitelist/AllowBTCMessage/index.tsx +++ b/src/modules/Whitelist/AllowBTCMessage/index.tsx @@ -21,27 +21,25 @@ const AllowBTCMessage = () => { ) } - if (amount.txsCount) { - return <> - } + return <>; - return ( - - {amount.txsCount ? ( - -

You've spent {formatCurrency(amount.fee, 0)} BTC for gas fees across {formatCurrency(amount.txsCount, 0)} transactions

-

Congratulations, you've earned {formatCurrency(amount.point, 0)} points

- {/**/} -
- ) : ( -

- No transactions found. Please connect another wallet and try again. -

- )} -
- ) + // return ( + // + // {amount.txsCount ? ( + // + //

You've spent {formatCurrency(amount.fee, 0)} BTC for gas fees across {formatCurrency(amount.txsCount, 0)} transactions

+ //

Congratulations, you've earned {formatCurrency(amount.point, 0)} points

+ // {/**/} + //
+ // ) : ( + //

+ // No transactions found. Please connect another wallet and try again. + //

+ // )} + //
+ // ) }, [loaded, status, isProcessing, amount]); return ( diff --git a/src/modules/Whitelist/AllowCelestiaMessage/index.tsx b/src/modules/Whitelist/AllowCelestiaMessage/index.tsx index c7bd480d7..e8efc58c6 100644 --- a/src/modules/Whitelist/AllowCelestiaMessage/index.tsx +++ b/src/modules/Whitelist/AllowCelestiaMessage/index.tsx @@ -20,23 +20,23 @@ const AllowCelestiaMessage = () => { ) } - - return ( - - {!!Number(amount.point || '0') ? ( - -

You are holding or staking {formatCurrency(amount.fee, 0)} TIA in your Keplr wallet

-

Congratulations, you've earned {formatCurrency(amount.point, 0)} points

-
- ) : ( -

- No transactions found. Please connect another wallet and try again. -

- )} -
- ) + return <>; + // return ( + // + // {!!Number(amount.point || '0') ? ( + // + //

You are holding or staking {formatCurrency(amount.fee, 0)} TIA in your Keplr wallet

+ //

Congratulations, you've earned {formatCurrency(amount.point, 0)} points

+ //
+ // ) : ( + //

+ // No transactions found. Please connect another wallet and try again. + //

+ // )} + //
+ // ) }, [loaded, status, isProcessing, amount]); return ( diff --git a/src/modules/Whitelist/steps/index.tsx b/src/modules/Whitelist/steps/index.tsx index 445d22c8a..e2d1f6754 100644 --- a/src/modules/Whitelist/steps/index.tsx +++ b/src/modules/Whitelist/steps/index.tsx @@ -234,26 +234,6 @@ const Steps = () => { desc: 'per 1000 sats' } }, - { - title: 'Are you a Modular Blockchain Pioneer?', - desc: 'The more TIA or staked TIA you hold, the more points you’ll get. Connect your Keplr or Leap wallet to prove the account ownership.', - actionText: isNeedClaimCelestiaPoint ? `Tweet to claim ${formatCurrency(allowCelestia.amount.unClaimedPoint, 0, 0)} pts` : 'How modular are you?', - actionHandle: isNeedClaimCelestiaPoint ? async () => { - onShareModular(); - await requestClaimCelestiaPoint(allowCelestia.status) - dispatch(requestReload()) - } : onSignModular, - actionTextSecondary: isNeedClaimCelestiaPoint ? "Verify another wallet" : undefined, - actionHandleSecondary: isNeedClaimCelestiaPoint ? onSignModular : undefined, - isActive: !!token, - isDone: !!token, - step: MultiplierStep.modular, - image: "ic-celestia.svg", - right: { - title: '+100 PTS', - desc: 'per TIA' - } - }, { title: 'Are you a L2 OG?', desc: 'The more Blast you staked or Optimism you hold, the more points you’ll get. Connect your Metamask wallet to prove the account ownership.', @@ -287,6 +267,26 @@ const Steps = () => { } ] }, + { + title: 'Are you a Modular Blockchain Pioneer?', + desc: 'The more TIA or staked TIA you hold, the more points you’ll get. Connect your Keplr or Leap wallet to prove the account ownership.', + actionText: isNeedClaimCelestiaPoint ? `Tweet to claim ${formatCurrency(allowCelestia.amount.unClaimedPoint, 0, 0)} pts` : 'How modular are you?', + actionHandle: isNeedClaimCelestiaPoint ? async () => { + onShareModular(); + await requestClaimCelestiaPoint(allowCelestia.status) + dispatch(requestReload()) + } : onSignModular, + actionTextSecondary: isNeedClaimCelestiaPoint ? "Verify another wallet" : undefined, + actionHandleSecondary: isNeedClaimCelestiaPoint ? onSignModular : undefined, + isActive: !!token, + isDone: !!token, + step: MultiplierStep.modular, + image: "ic-celestia.svg", + right: { + title: '+100 PTS', + desc: 'per TIA' + } + }, ]; if (token) { tasks.push(authenTask)