From b82b5992526c571ac5c893773f40e701d84d5c92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20S=C3=A1?= Date: Mon, 12 Sep 2022 17:10:56 +0100 Subject: [PATCH] fix: use the correct input component for the Blockcypher confidence factor --- .../src/pages/Services/schemas/blockcypher.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/new-lamassu-admin/src/pages/Services/schemas/blockcypher.js b/new-lamassu-admin/src/pages/Services/schemas/blockcypher.js index 103e26ef..3515eb1e 100644 --- a/new-lamassu-admin/src/pages/Services/schemas/blockcypher.js +++ b/new-lamassu-admin/src/pages/Services/schemas/blockcypher.js @@ -1,7 +1,6 @@ import * as Yup from 'yup' -import CheckboxInput from 'src/components/inputs/formik/Checkbox' -import TextInputFormik from 'src/components/inputs/formik/TextInput' +import { Checkbox, TextInput, NumberInput } from 'src/components/inputs/formik' export default { code: 'blockcypher', @@ -11,19 +10,19 @@ export default { { code: 'token', display: 'API Token', - component: TextInputFormik, + component: TextInput, face: true, long: true }, { code: 'confidenceFactor', display: 'Confidence Factor', - component: TextInputFormik, + component: NumberInput, face: true }, { code: 'rbf', - component: CheckboxInput, + component: Checkbox, settings: { field: 'wallets_BTC_wallet', enabled: true,