separate imports for better tree shaking

Co-authored-by: Gustav Hansen <gu@stav.dev>
This commit is contained in:
Godzzo 2022-03-31 14:34:32 +02:00 committed by Gustav Hansen
parent 56607b6842
commit 20ccfeb2ac

View File

@ -1,5 +1,6 @@
import { useMemo } from 'react';
import { get, toString } from 'lodash';
import get from 'lodash/get';
import toString from 'lodash/toString';
import { useCMEditViewDataManager } from '@strapi/helper-plugin';
export function getDisplayedValue(modifiedData, componentFieldPath, mainField) {