Minor tweak to flowRight dependency use

This commit is contained in:
Kai Moseley 2017-02-22 10:17:03 +00:00
parent 260ac4edcf
commit 9534c25adc
1 changed files with 2 additions and 2 deletions

View File

@ -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);