From 2e17c534154a5673f1b953e8108b6ab8cfa2be08 Mon Sep 17 00:00:00 2001 From: RadoslavDimchev Date: Thu, 7 Mar 2024 16:37:54 +0200 Subject: [PATCH] feat(deposit-validator): show deposit amount eth --- .../RightManageSettings/Panels/DepositPanel.tsx | 4 ++-- .../RightManageSettings/Panels/DepositValidator.tsx | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/pages/ValidatorManagement/ManageValidator/RightManageSettings/Panels/DepositPanel.tsx b/src/pages/ValidatorManagement/ManageValidator/RightManageSettings/Panels/DepositPanel.tsx index 4273bf79..2a7811c8 100644 --- a/src/pages/ValidatorManagement/ManageValidator/RightManageSettings/Panels/DepositPanel.tsx +++ b/src/pages/ValidatorManagement/ManageValidator/RightManageSettings/Panels/DepositPanel.tsx @@ -3,14 +3,14 @@ import { YStack } from 'tamagui' import { useSelector } from 'react-redux' import PanelWrapper from './PanelWrapper' +import { getDepositTitle } from '../../../../../utilities' import { RootState } from '../../../../../redux/store' import ConnectedWallet from '../../../../../components/General/ConnectedWallet' import ConnectWallet from '../../../../../components/General/ConnectWallet' import ChainParity from '../../../../../components/General/ChainParity' import ValidatorRequest from '../../../../../components/General/ValidatorRequest/ValidatorRequest' -import { getDepositTitle } from '../../../../../utilities' -import DepositValidator from './DepositValidator' import ValidatorBalanceInfoBox from '../../../../../components/General/ValidatorBalanceInfoBox' +import DepositValidator from './DepositValidator' const DepositPanel = () => { const { isWalletConnected, isTransactionConfirmation, isChainParity } = diff --git a/src/pages/ValidatorManagement/ManageValidator/RightManageSettings/Panels/DepositValidator.tsx b/src/pages/ValidatorManagement/ManageValidator/RightManageSettings/Panels/DepositValidator.tsx index 986d24d2..b07cb45b 100644 --- a/src/pages/ValidatorManagement/ManageValidator/RightManageSettings/Panels/DepositValidator.tsx +++ b/src/pages/ValidatorManagement/ManageValidator/RightManageSettings/Panels/DepositValidator.tsx @@ -7,7 +7,6 @@ import CurrencyDropdown from '../../../../../components/General/CurrencyDropdown const DepositValidator = () => { const [depositAmount, setDepositAmount] = useState('') - const price = 1 const changeDepositAmountHandler = (value: string) => { const numberValue = Number(value) @@ -44,7 +43,7 @@ const DepositValidator = () => { onChangeText={changeDepositAmountHandler} /> - + ) }