From 7ad262a7b1652ad15f523d31571a11b05d369ae6 Mon Sep 17 00:00:00 2001 From: Jos de Jong Date: Sun, 12 Jul 2020 11:17:19 +0200 Subject: [PATCH] Group lodash imports --- src/utils/updateProps.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/utils/updateProps.js b/src/utils/updateProps.js index 369d10f..85263dd 100644 --- a/src/utils/updateProps.js +++ b/src/utils/updateProps.js @@ -1,9 +1,8 @@ -import initial from 'lodash-es/initial.js' +import { initial, isEqual, last, uniqueId } from 'lodash-es' import { STATE_PROPS } from '../constants.js' import { deleteIn, getIn, insertAt, setIn } from './immutabilityHelpers.js' import { parseJSONPointer } from './jsonPointer.js' import { isObject } from './typeUtils.js' -import { isEqual, last, uniqueId } from 'lodash-es' export function updateProps (value, prevProps) { if (!isObject(value)) {