Skip to content

Commit 64afea6

Browse files
committed
improvement based on feedback
1 parent 0ffe426 commit 64afea6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/utils/src/mergeDefaultsWithFormData.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import get from 'lodash/get';
22

33
import isObject from './isObject';
44
import { GenericObjectType } from '../src';
5-
import { isNil } from 'lodash';
5+
import isNil from 'lodash/isNil';
66

77
/** Merges the `defaults` object of type `T` into the `formData` of type `T`
88
*

packages/utils/src/schema/getDefaultFormState.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import isSelect from './isSelect';
3434
import retrieveSchema, { resolveDependencies } from './retrieveSchema';
3535
import isConstant from '../isConstant';
3636
import { JSONSchema7Object } from 'json-schema';
37-
import { isEqual } from 'lodash';
37+
import isEqual from 'lodash/isEqual';
3838
import optionsList from '../optionsList';
3939

4040
const PRIMITIVE_TYPES = ['string', 'number', 'integer', 'boolean', 'null'];

0 commit comments

Comments
 (0)