Fix build
This commit is contained in:
parent
8d2d39cb0e
commit
3ed861369e
2 changed files with 11 additions and 2 deletions
8
src/utils/state.js
Normal file
8
src/utils/state.js
Normal 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);
|
||||
Loading…
Add table
Add a link
Reference in a new issue