Skip to content

Commit

Permalink
Merge pull request #5380 from impronunciable/load-lodash-utility
Browse files Browse the repository at this point in the history
Strip down lodash footprint by loading only the required utility
  • Loading branch information
fzaninotto authored Oct 11, 2020
2 parents 27a6927 + 7d90fc2 commit 0a250f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ra-core/src/form/useInitializeFormWithRecord.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useEffect } from 'react';
import { useForm } from 'react-final-form';
import { merge } from 'lodash';
import merge from 'lodash/merge';

/**
* Restore the record values which should override any default values specified on the form.
Expand Down

0 comments on commit 0a250f8

Please sign in to comment.