hunk.code_window:     const appId = currentApplication ? currentApplication.id : "";
       yield put(restoreRecentEntitiesRequest(applicationId));
       AnalyticsUtil.logEvent("EDITOR_OPEN", {
         appId: appId,
         appName: appName,
       });
  
hunk.labels: keep keep keep add keep keep keep keep
hunk.after_edit:     yield put(fetchCommentThreadsInit());
  
hunk.file_path: app/client/src/sagas/InitSagas.ts
hunk.type: add
file: import { AppState } from "reducers";
  import { createSelector } from "reselect";
  export const getDebuggerErrors = (state: AppState) => state.ui.debugger.errors;
  export const hideErrors = (state: AppState) => state.ui.debugger.hideErrors;
  export const getFilteredErrors = createSelector(
    getDebuggerErrors,
    hideErrors,
    (errors, hideErrors) => {
      if (hideErrors) return {};
  
      return errors;
    },
  );
  