Skip to content

Commit

Permalink
fix deposit-form
Browse files Browse the repository at this point in the history
  • Loading branch information
Yehor Podporinov authored and Yehor Podporinov committed Jan 24, 2024
1 parent 43a6eb1 commit 9927662
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/forms/DepositForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ import { InputField, SelectField } from '@/fields'
import { bus, BUS_EVENTS, ErrorHandler } from '@/helpers'
import { useWeb3ProvidersStore } from '@/store'
import { type FieldOption } from '@/types'
import { BigNumber, formatEther, parseUnits } from '@/utils'
import { BigNumber, formatEther, parseUnits, toEther } from '@/utils'
import { ether, maxEther, required } from '@/validators'
import { config } from '@config'
import { v4 as uuidv4 } from 'uuid'
Expand Down Expand Up @@ -138,7 +138,7 @@ const availableOptions = computed<FieldOption<AvailableOptionValue>[]>(() => [
{
title: `${formatEther(web3ProvidersStore.balances.stEth)} stETH`,
value: {
amount: formatEther(web3ProvidersStore.balances.stEth),
amount: toEther(web3ProvidersStore.balances.stEth),
currency: AVAILABLE_CURRENCIES.stEth,
},
},
Expand Down

0 comments on commit 9927662

Please sign in to comment.