PromucFlow_constructor/app/client/src/selectors/helpSelectors.tsx
Sangeeth Sivan e9d719103c
chore: code split sagas and reducer's index file (#16261)
* chore: code split sagas and reducers index file

* fix: update imports

* chore: remove acl reducers file on ce

* fix: code split reducers properly

* chore: remove unnecessary import

* chore: split root sagas file
2022-08-24 17:46:32 +05:30

9 lines
256 B
TypeScript

import { AppState } from "@appsmith/reducers";
export const getHelpModalOpen = (state: AppState): boolean =>
state.ui.help.modalOpen;
export const getDefaultRefinement = (state: AppState): string => {
return state.ui.help.defaultRefinement || "";
};