Skip to content

Commit

Permalink
fix(lodash): each -> forEach
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthieu Beteille committed Oct 20, 2017
1 parent 70c2839 commit 23ce741
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/redux-data-fx.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import 'babel-polyfill'
import { each, isObject } from 'lodash'
import { forEach, isObject } from 'lodash'
import { hasFX } from './helpers'
import {
StoreCreator,
Expand Down Expand Up @@ -41,7 +41,7 @@ const reduxDataFX = <S>(createStore: StoreEnhancerStoreCreator<S>) => (

if (hasFX(result)) {
let { _fx, state } = result
each(_fx, (params, id) => {
forEach(_fx, (params, id) => {
q.push([id, params])
})
return state
Expand Down

0 comments on commit 23ce741

Please sign in to comment.