PromucFlow_constructor/app/client/src/selectors/jsPaneSelectors.ts
f0c1s 421dfb9b64
chore: Fixing broken client build (#17634)
## Description

EE client build is broken due to not following proper code splitting strategy; one file in particularly didn't get split earlier and changes to that file broke the client build on EE.

This PR fixes the issues.
2022-10-18 10:53:18 +05:30

11 lines
365 B
TypeScript

import { AppState } from "@appsmith/reducers";
export const getJSPaneConfigSelectedTabIndex = (state: AppState) =>
state.ui.jsPane.selectedConfigTabIndex;
export const getJSPaneResponseSelectedTab = (state: AppState) =>
state.ui.jsPane.selectedResponseTab;
export const getJSPaneResponsePaneHeight = (state: AppState) =>
state.ui.jsPane.responseTabHeight;