From 9534c25adcc30d6e6e95b698f4ed9ca630a515ca Mon Sep 17 00:00:00 2001 From: Kai Moseley Date: Wed, 22 Feb 2017 10:17:03 +0000 Subject: [PATCH] Minor tweak to flowRight dependency use --- src/reducers.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/reducers.js b/src/reducers.js index 4cb5ef9..36bb74b 100644 --- a/src/reducers.js +++ b/src/reducers.js @@ -37,7 +37,7 @@ import { PROP_TYPES, } from './structure'; import reduce from 'lodash/reduce'; -import flowright from 'lodash/fp/flowright'; +import flowRight from 'lodash/fp/flowRight'; import { createShapeReducer } from './reducers/objectReducer'; import { createArrayReducer } from './reducers/arrayReducer'; import { createPrimitiveReducer } from './reducers/primitiveReducer'; @@ -120,4 +120,4 @@ export function calculateDefaults(typeDescription: StructureType | PrimitiveType } -export const createReducer = flowright(callReducer, determineReducerType); +export const createReducer = flowRight(callReducer, determineReducerType);