File tree Expand file tree Collapse file tree
apps/frontend/src/app/5_pages/BobGateway/components/BobGatewayDeposit Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ " frontend " : patch
3+ ---
4+
5+ SOV-4874: Fix naming on BOB Gateway page
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import { Decimal } from '@sovryn/utils';
1111
1212import { AssetPairRenderer } from '../../../../2_molecules/AssetPairRenderer/AssetPairRenderer' ;
1313import { AssetRenderer } from '../../../../2_molecules/AssetRenderer/AssetRenderer' ;
14+ import { BITCOIN } from '../../../../../constants/currencies' ;
1415import { useWalletConnect } from '../../../../../hooks' ;
1516import { useAccount as useEvmAccount } from '../../../../../hooks/useAccount' ;
1617import { 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" >
You can’t perform that action at this time.
0 commit comments