27f346d8f1
It was not meant to be used for these cases -- wasting resources creating and going through the cache for each simple direct access.
6 lines
361 B
JavaScript
6 lines
361 B
JavaScript
// @flow
|
|
type State = { reportContent: ReportContentState };
|
|
|
|
export const selectState = (state: State): ReportContentState => state.reportContent;
|
|
export const selectIsReportingContent: (state: State) => boolean = (state) => selectState(state).isReporting;
|
|
export const selectReportContentError: (state: State) => string = (state) => selectState(state).error;
|