Importing only what is needed from lodash

This commit is contained in:
Jesús Espino 2021-06-11 11:32:18 +02:00
parent 4d3d45323f
commit aa80ac02af
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@
// See LICENSE.txt for license information.
import {CSSObject} from '@emotion/serialize'
import {isEqual} from 'lodash'
import isEqual from 'lodash/isEqual'
let activeThemeName: string

View file

@ -1,7 +1,7 @@
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
import React, {useState, useRef, useEffect} from 'react'
import {debounce} from 'lodash'
import debounce from 'lodash/debounce'
import {useIntl, IntlShape} from 'react-intl'
import {PropertyType} from '../blocks/board'