11 lines
409 B
TypeScript
11 lines
409 B
TypeScript
|
|
import { AppState } from "ce/reducers";
|
||
|
|
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,
|
||
|
|
);
|