Skip to content

Commit

Permalink
fix(lodash): use scoped imports
Browse files Browse the repository at this point in the history
  • Loading branch information
cymen authored and Raphaël Benitte committed Jan 24, 2019
1 parent 29848b8 commit dea6a75
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/legends/src/svg/LegendSvgItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/
import React, { Component } from 'react'
import PropTypes from 'prop-types'
import { isFunction } from 'lodash'
import isFunction from 'lodash/isFunction'
import {
DIRECTION_LEFT_TO_RIGHT,
DIRECTION_RIGHT_TO_LEFT,
Expand Down
3 changes: 2 additions & 1 deletion packages/stream/stories/stream.stories.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react'
import { range, random } from 'lodash'
import range from 'lodash/range'
import random from 'lodash/random'
import { storiesOf } from '@storybook/react'
import { withKnobs, select } from '@storybook/addon-knobs'
import { withInfo } from '@storybook/addon-info'
Expand Down

0 comments on commit dea6a75

Please sign in to comment.