2022-12-14 15:02:13 +00:00
|
|
|
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,
|
|
|
|
|
);
|