hunk.code_window:       prevProps.flattenedChildCanvasWidgets;
       this.pageSize = this.getPageSize();
       if (this.shouldUpdatePageSize()) {
         this.updatePageSize();
  
hunk.labels: keep keep keep keep replace keep
hunk.after_edit:     if (this.shouldUpdatePageSize() && this.pageSizeUpdated) {
  
hunk.file_path: app/client/src/widgets/ListWidgetV2/widget/index.tsx
hunk.type: replace
file: 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;
  