Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kosmydel committed Mar 13, 2024
1 parent c8ce6bb commit 31d41b9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/components/Form/FormProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ function FormProvider(

const onValidate = useCallback(
(values: FormOnyxValues, shouldClearServerError = true) => {
console.log('onValidate', values);
const trimmedStringValues = ValidationUtils.prepareValues(values);

if (shouldClearServerError) {
Expand Down
2 changes: 0 additions & 2 deletions src/pages/workspace/taxes/WorkspaceNewTaxPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -78,7 +77,6 @@ function WorkspaceNewTaxPage({
submitButtonText={translate('common.save')}
enabledWhenOffline
shouldValidateOnBlur={false}
shouldValidateOnChange
disablePressOnEnter={false}
>
<View style={styles.mhn5}>
Expand Down

0 comments on commit 31d41b9

Please sign in to comment.