Skip to content

Commit

Permalink
chore: remove lodash from react-dnd (#1317)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfklauberg authored and darthtrevino committed Apr 3, 2019
1 parent 039d463 commit dc636b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/react-dnd/src/DragLayer.tsx
Expand Up @@ -9,9 +9,9 @@ import {
} from './interfaces'
import { Consumer } from './DragDropContext'
import { isRefable } from './utils/isRefable'
import { isPlainObject } from './utils/discount_lodash'

const hoistStatics = require('hoist-non-react-statics')
const isPlainObject = require('lodash/isPlainObject')
const invariant = require('invariant')
const shallowEqual = require('shallowequal')

Expand Down
2 changes: 1 addition & 1 deletion packages/react-dnd/src/decorateHandler.tsx
Expand Up @@ -12,7 +12,7 @@ import {
} from './utils/disposables'
import { Connector } from './SourceConnector'
import { isRefable } from './utils/isRefable'
const isPlainObject = require('lodash/isPlainObject')
import { isPlainObject } from './utils/discount_lodash'
const invariant = require('invariant')
const hoistStatics = require('hoist-non-react-statics')
const shallowEqual = require('shallowequal')
Expand Down

0 comments on commit dc636b9

Please sign in to comment.