diff --git a/src/components/Form/FormProvider.tsx b/src/components/Form/FormProvider.tsx index 2195805bb7d9..ee3b3607401e 100644 --- a/src/components/Form/FormProvider.tsx +++ b/src/components/Form/FormProvider.tsx @@ -102,7 +102,6 @@ function FormProvider( const onValidate = useCallback( (values: FormOnyxValues, shouldClearServerError = true) => { - console.log('onValidate', values); const trimmedStringValues = ValidationUtils.prepareValues(values); if (shouldClearServerError) { diff --git a/src/pages/workspace/taxes/WorkspaceNewTaxPage.tsx b/src/pages/workspace/taxes/WorkspaceNewTaxPage.tsx index d9f9f52f32ff..cd226554c364 100644 --- a/src/pages/workspace/taxes/WorkspaceNewTaxPage.tsx +++ b/src/pages/workspace/taxes/WorkspaceNewTaxPage.tsx @@ -11,7 +11,6 @@ import Text from '@components/Text'; import TextPicker from '@components/TextPicker'; import useLocalize from '@hooks/useLocalize'; import useThemeStyles from '@hooks/useThemeStyles'; -import {clearDraftValues} from '@libs/actions/FormActions'; import {createWorkspaceTax, getNextTaxID, getTaxValueWithPercentage} from '@libs/actions/TaxRate'; import Navigation from '@libs/Navigation/Navigation'; import type {SettingsNavigatorParamList} from '@libs/Navigation/types'; @@ -78,7 +77,6 @@ function WorkspaceNewTaxPage({ submitButtonText={translate('common.save')} enabledWhenOffline shouldValidateOnBlur={false} - shouldValidateOnChange disablePressOnEnter={false} >