2021-03-31 15:38:22 +08:00
|
|
|
// @flow
|
|
|
|
type State = { reportContent: ReportContentState };
|
|
|
|
|
|
|
|
export const selectState = (state: State): ReportContentState => state.reportContent;
|
2021-10-23 10:41:43 +08:00
|
|
|
export const selectIsReportingContent: (state: State) => boolean = (state) => selectState(state).isReporting;
|
|
|
|
export const selectReportContentError: (state: State) => string = (state) => selectState(state).error;
|