From 0e52c245ce235babbc967c093682e6ebd491c86b Mon Sep 17 00:00:00 2001 From: Jakob Ackermann Date: Tue, 17 Oct 2023 10:40:28 +0200 Subject: [PATCH] Merge pull request #15269 from overleaf/jpa-delete-dead-history-code [web] delete unused "history-file-tree-react" angular component GitOrigin-RevId: a3e54352dd54bf234b3e868d91eaffafd078c0f8 --- .../history/controllers/history-file-tree-controller.js | 9 --------- services/web/frontend/js/ide.js | 1 - 2 files changed, 10 deletions(-) delete mode 100644 services/web/frontend/js/features/history/controllers/history-file-tree-controller.js diff --git a/services/web/frontend/js/features/history/controllers/history-file-tree-controller.js b/services/web/frontend/js/features/history/controllers/history-file-tree-controller.js deleted file mode 100644 index 36c72a22f4..0000000000 --- a/services/web/frontend/js/features/history/controllers/history-file-tree-controller.js +++ /dev/null @@ -1,9 +0,0 @@ -import App from '../../../base' -import { react2angular } from 'react2angular' -import { rootContext } from '../../../shared/context/root-context' -import HistoryFileTree from '../components/history-file-tree' - -App.component( - 'historyFileTreeReact', - react2angular(rootContext.use(HistoryFileTree)) -) diff --git a/services/web/frontend/js/ide.js b/services/web/frontend/js/ide.js index ef5020641b..277b7aa446 100644 --- a/services/web/frontend/js/ide.js +++ b/services/web/frontend/js/ide.js @@ -63,7 +63,6 @@ import './features/source-editor/controllers/editor-switch-controller' import './features/source-editor/controllers/cm6-switch-away-survey-controller' import './features/source-editor/controllers/legacy-editor-warning-controller' import './features/history/controllers/history-controller' -import './features/history/controllers/history-file-tree-controller' import './features/editor-left-menu/controllers/editor-left-menu-controller' import { cleanupServiceWorker } from './utils/service-worker-cleanup' import { reportCM6Perf } from './infrastructure/cm6-performance'