Skip to content

Commit

Permalink
Don't import all of lodash (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
eqyiel authored and prakhar1989 committed Dec 20, 2016
1 parent 03a3694 commit 4823586
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Suggestions.js
@@ -1,5 +1,5 @@
import React, { Component } from 'react';
import { isEqual } from 'lodash';
import isEqual from 'lodash/isEqual';

const maybeScrollSuggestionIntoView = (suggestionEl, suggestionsContainer) => {
const containerHeight = suggestionsContainer.offsetHeight
Expand Down
2 changes: 1 addition & 1 deletion lib/Tag.js
@@ -1,6 +1,6 @@
import React, { Component } from 'react';
import { DragSource, DropTarget } from 'react-dnd';
import { flow } from 'lodash';
import flow from 'lodash/flow';

const ItemTypes = { TAG: 'tag' };

Expand Down

0 comments on commit 4823586

Please sign in to comment.