Skip to content

Commit b9024a6

Browse files
author
tiltom
authored
SOV-4874: Fix naming on BOB Gateway page (#1080)
* FIx naming * Create short-islands-enjoy.md
1 parent eb1b450 commit b9024a6

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

.changeset/short-islands-enjoy.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"frontend": patch
3+
---
4+
5+
SOV-4874: Fix naming on BOB Gateway page

apps/frontend/src/app/5_pages/BobGateway/components/BobGatewayDeposit/BobGatewayDeposit.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import { Decimal } from '@sovryn/utils';
1111

1212
import { AssetPairRenderer } from '../../../../2_molecules/AssetPairRenderer/AssetPairRenderer';
1313
import { AssetRenderer } from '../../../../2_molecules/AssetRenderer/AssetRenderer';
14+
import { BITCOIN } from '../../../../../constants/currencies';
1415
import { useWalletConnect } from '../../../../../hooks';
1516
import { useAccount as useEvmAccount } from '../../../../../hooks/useAccount';
1617
import { useGetRBTCPrice } from '../../../../../hooks/zero/useGetRBTCPrice';
@@ -92,13 +93,13 @@ export const BobGatewayDeposit: FC<BobGatewayDepositProps> = ({
9293
className="cursor-pointer self-end text-gray-20 text-xs mt-5 mb-1"
9394
>
9495
({t(translations.common.max)}:{' '}
95-
{formatUnits(data?.confirmed.toString() || '0', 8)} wBTC)
96+
{formatUnits(data?.confirmed.toString() || '0', 8)} {BITCOIN})
9697
</div>
9798

9899
<div className="flex items-center gap-3 mb-4">
99100
<div className="flex-1 relative">
100101
<AmountInput
101-
placeholder={t(translations.bobGatewayPage.amountInput)}
102+
placeholder="0"
102103
step="0.00000001"
103104
value={amount}
104105
onChangeText={setAmount}
@@ -113,7 +114,7 @@ export const BobGatewayDeposit: FC<BobGatewayDepositProps> = ({
113114
</div>
114115

115116
<div className="bg-gray-70 p-2.5 rounded">
116-
<AssetRenderer asset="wBTC" showAssetLogo />
117+
<AssetRenderer asset={BITCOIN} showAssetLogo />
117118
</div>
118119
</div>
119120
<div className="mb-6">

0 commit comments

Comments
 (0)