diff --git a/src/form/BridgeForm.js b/src/form/BridgeForm.js index 25274b128..33df62af2 100644 --- a/src/form/BridgeForm.js +++ b/src/form/BridgeForm.js @@ -2,7 +2,7 @@ import React from 'react'; import { Form } from 'react-final-form'; import setFieldData from 'final-form-set-field-data'; -import Autosaver from './Autosaver'; +import ValuesHandler from './ValuesHandler'; import ValidationPauser from './ValidationPauser'; export default function BridgeForm({ children, onValues, ...rest }) { @@ -12,7 +12,7 @@ export default function BridgeForm({ children, onValues, ...rest }) { <> {children(formProps)} - {onValues && } + {onValues && } )} diff --git a/src/form/Autosaver.js b/src/form/ValuesHandler.js similarity index 89% rename from src/form/Autosaver.js rename to src/form/ValuesHandler.js index 30ec72024..2109a4215 100644 --- a/src/form/Autosaver.js +++ b/src/form/ValuesHandler.js @@ -1,7 +1,7 @@ import { useEffect } from 'react'; import { useFormState, useForm } from 'react-final-form'; -export default function Autosaver({ onValues }) { +export default function ValuesHandler({ onValues }) { const form = useForm(); const { valid, validating, values } = useFormState({ subscription: { diff --git a/src/views/Activate/ActivateCode.js b/src/views/Activate/ActivateCode.js index 4e1255b6f..b56450064 100644 --- a/src/views/Activate/ActivateCode.js +++ b/src/views/Activate/ActivateCode.js @@ -70,8 +70,6 @@ export default function ActivateCode() { return errors; } - console.log('FUCK — deriving seed'); - await timeout(100); // allow the ui changes to flush before we lag it out const _contracts = need.contracts(contracts);