Skip to content

Commit

Permalink
Use a more precise name for custom form data
Browse files Browse the repository at this point in the history
  • Loading branch information
kkosiorowska committed Jan 8, 2024
1 parent 9eba84c commit a0c4b71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dapp/src/components/Modals/Staking/StakeForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { BITCOIN_MIN_AMOUNT } from "../../../constants"
import { CurrencyType } from "../../../types"

const CURRENCY_TYPE: CurrencyType = "bitcoin"
const CUSTOM_DATA = {
const FORM_CUSTOM_DATA = {
buttonText: "Stake",
btcAmountText: "Amount to be staked",
estimatedAmountText: "Approximately staked tokens",
Expand All @@ -31,7 +31,7 @@ function StakeForm({ goNext }: ModalStep) {
return (
<TokenAmountForm
currencyType={CURRENCY_TYPE}
customData={CUSTOM_DATA}
customData={FORM_CUSTOM_DATA}
tokenBalance={btcAccount?.balance.toString() ?? "0"}
minTokenAmount={BITCOIN_MIN_AMOUNT}
onSubmitForm={handleSubmitForm}
Expand Down

0 comments on commit a0c4b71

Please sign in to comment.