Fix build

This commit is contained in:
uwap 2018-01-19 21:57:20 +01:00
parent 8d2d39cb0e
commit 3ed861369e
2 changed files with 11 additions and 2 deletions

8
src/utils/state.js Normal file
View file

@ -0,0 +1,8 @@
// @flow
import _ from "lodash";
export const getInternals = (state: State): Map<string, Internal> =>
_.mapValues(state, (x) => x.internal || x.actual);
export const getActuals = (state: State): Map<string, Actual> =>
_.mapValues(state, (x) => x.actual);