fix: use the correct input component for the Blockcypher confidence factor

This commit is contained in:
André Sá 2022-09-12 17:10:56 +01:00
parent d62db527de
commit b82b599252

View file

@ -1,7 +1,6 @@
import * as Yup from 'yup' import * as Yup from 'yup'
import CheckboxInput from 'src/components/inputs/formik/Checkbox' import { Checkbox, TextInput, NumberInput } from 'src/components/inputs/formik'
import TextInputFormik from 'src/components/inputs/formik/TextInput'
export default { export default {
code: 'blockcypher', code: 'blockcypher',
@ -11,19 +10,19 @@ export default {
{ {
code: 'token', code: 'token',
display: 'API Token', display: 'API Token',
component: TextInputFormik, component: TextInput,
face: true, face: true,
long: true long: true
}, },
{ {
code: 'confidenceFactor', code: 'confidenceFactor',
display: 'Confidence Factor', display: 'Confidence Factor',
component: TextInputFormik, component: NumberInput,
face: true face: true
}, },
{ {
code: 'rbf', code: 'rbf',
component: CheckboxInput, component: Checkbox,
settings: { settings: {
field: 'wallets_BTC_wallet', field: 'wallets_BTC_wallet',
enabled: true, enabled: true,