Reduce production built size
This commit is contained in:
parent
a96fa1622b
commit
f4d1cb7e1e
13 changed files with 56 additions and 38 deletions
|
|
@ -1,8 +1,8 @@
|
|||
// @flow
|
||||
import _ from "lodash";
|
||||
import mapValues from "lodash/mapValues";
|
||||
|
||||
export const getInternals = (state: State): Map<string, Internal> =>
|
||||
_.mapValues(state, (x) => x.internal || x.actual);
|
||||
mapValues(state, (x) => x.internal || x.actual);
|
||||
|
||||
export const getActuals = (state: State): Map<string, Actual> =>
|
||||
_.mapValues(state, (x) => x.actual);
|
||||
mapValues(state, (x) => x.actual);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue