PromucFlow_constructor/app/client/src/selectors/appSettingsPaneSelectors.tsx

11 lines
416 B
TypeScript
Raw Normal View History

import { AppState } from "@appsmith/reducers";
2022-12-02 05:49:51 +00:00
import { AppSettingsPaneReduxState } from "reducers/uiReducers/appSettingsPaneReducer";
import { createSelector } from "reselect";
export const getAppSettingsPane = (state: AppState) => state.ui.appSettingsPane;
export const getIsAppSettingsPaneOpen = createSelector(
getAppSettingsPane,
(appSettingsPane: AppSettingsPaneReduxState) => appSettingsPane.isOpen,
);