@@ -42,7 +42,7 @@ export default function Trezor({ className, goHome }) {
42 composeValidator({
42 composeValidator({
43 useCustomPath: buildCheckboxValidator(),
43 useCustomPath: buildCheckboxValidator(),
44 account: buildSelectValidator(ACCOUNT_OPTIONS),
44 account: buildSelectValidator(ACCOUNT_OPTIONS),
45− hdpath: buildHdPathValidator(),
45+ hdPath: buildHdPathValidator(),
@@ -55,7 +55,7 @@ export default function Trezor({ className, goHome }) {
57 const { success, payload } = await TrezorConnect.getPublicKey({
57 const { success, payload } = await TrezorConnect.getPublicKey({
58− path: values.hdpath,
58+ path: values.hdPath,
61 if (!success) {
61 if (!success) {
@@ -79,14 +79,14 @@ export default function Trezor({ className, goHome }) {
81 if (!values.useCustomPath) {
81 if (!values.useCustomPath) {
82− form.change('hdpath', TREZOR_PATH.replace(/x/g, values.account));
82+ form.change('hdPath', TREZOR_PATH.replace(/x/g, values.account));
86 const initialValues = useMemo(
86 const initialValues = useMemo(
88 useCustomPath: false,
88 useCustomPath: false,
89− hdpath: TREZOR_PATH.replace(/x/g, ACCOUNT_OPTIONS[0].value),
89+ hdPath: TREZOR_PATH.replace(/x/g, ACCOUNT_OPTIONS[0].value),
90 account: ACCOUNT_OPTIONS[0].value,
90 account: ACCOUNT_OPTIONS[0].value,
@@ -112,7 +112,7 @@ export default function Trezor({ className, goHome }) {
112 {({ handleSubmit }) => (
112 {({ handleSubmit }) => (
114 <Condition when="useCustomPath" is={true}>
114 <Condition when="useCustomPath" is={true}>
115− <Grid.Item full as={HdPathInput} name="hdpath" label="HD Path" />
115+ <Grid.Item full as={HdPathInput} name="hdPath" label="HD Path" />
116 </Condition>
116 </Condition>
118 <Condition when="useCustomPath" is={false}>
118 <Condition when="useCustomPath" is={false}>