chore: renamed WDModal to WithdrawDepositModal (#178)

* chore: renamed WDModal to WithdrawDepositModal

* chore: change the name of inports to WithdrawDepositModal as well
This commit is contained in:
Vojtech Simetka
2021-08-23 16:02:24 +02:00
committed by GitHub
parent 56df3a2561
commit 0df15d6109
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -1,14 +1,14 @@
import { ReactElement, useContext } from 'react'
import { Context as SettingsContext } from '../providers/Settings'
import WDModal from '../components/WDModal'
import WithdrawDepositModal from '../components/WithdrawDepositModal'
import { BigNumber } from 'bignumber.js'
export default function WithdrawModal(): ReactElement {
const { beeDebugApi } = useContext(SettingsContext)
return (
<WDModal
<WithdrawDepositModal
successMessage="Successful withdrawl."
errorMessage="Error with withdrawing."
dialogMessage="Specify the amount of BZZ you would like to withdraw from your node."