remove object-assign dep ( which was missing from package.json )

This commit is contained in:
Josh Ponelat
2017-04-19 06:35:35 +02:00
parent 5a5a4d016b
commit 2cff912261
2 changed files with 4 additions and 6 deletions

View File

@@ -1,5 +1,4 @@
import Im from "immutable"
import assign from "object-assign"
import shallowEqual from "shallowequal"
import camelCase from "lodash/camelCase"
@@ -85,7 +84,7 @@ export function objReduce(obj, fn) {
return Object.keys(obj).reduce((newObj, key) => {
let res = fn(obj[key], key)
if(res && typeof res === "object")
assign(newObj, res)
Object.assign(newObj, res)
return newObj
}, {})
}