Skip to content
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.

Commit

Permalink
Separate lodash imports
Browse files Browse the repository at this point in the history
Fixes emojione strategy import
  • Loading branch information
tommoor committed Aug 17, 2016
1 parent 4b4c5e6 commit 7db9f16
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/modifiers.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import Modifier from './modifier';
import {each} from 'lodash';
import each from 'lodash/each';

const Modifiers = React.createClass({
propTypes: {
Expand Down
7 changes: 5 additions & 2 deletions src/picker.jsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
import React from 'react';
import Emoji from './emoji';
import Modifiers from './modifiers';
import strategy from '../node_modules/emojione/emoji.json';
import strategy from 'emojione/emoji.json';
import emojione from 'emojione';
import store from 'store';
import {throttle, each, map, compact} from 'lodash';
import throttle from 'lodash/throttle';
import each from 'lodash/each';
import map from 'lodash/map';
import compact from 'lodash/compact';

const Picker = React.createClass({
propTypes: {
Expand Down

0 comments on commit 7db9f16

Please sign in to comment.