diff --git a/services/web/frontend/js/features/file-tree/components/file-tree-icon.tsx b/services/web/frontend/js/features/file-tree/components/file-tree-icon.tsx
index 2311b19836..3ee56fe75c 100644
--- a/services/web/frontend/js/features/file-tree/components/file-tree-icon.tsx
+++ b/services/web/frontend/js/features/file-tree/components/file-tree-icon.tsx
@@ -1,5 +1,5 @@
import { useTranslation } from 'react-i18next'
-import { newEditorIconTypeFromName } from '../util/icon-type-from-name'
+import iconTypeFromName from '../util/icon-type-from-name'
import classnames from 'classnames'
import MaterialIcon from '@/shared/components/material-icon'
@@ -20,7 +20,7 @@ function FileTreeIcon({
<>
{isLinkedFile && (
diff --git a/services/web/frontend/js/features/file-tree/util/icon-type-from-name.ts b/services/web/frontend/js/features/file-tree/util/icon-type-from-name.ts
index dddf13a1d5..5e2209950a 100644
--- a/services/web/frontend/js/features/file-tree/util/icon-type-from-name.ts
+++ b/services/web/frontend/js/features/file-tree/util/icon-type-from-name.ts
@@ -1,9 +1,6 @@
import { AvailableUnfilledIcon } from '@/shared/components/material-icon'
-// TODO ide-redesign-cleanup: Make this the default export and remove the legacy version
-export const newEditorIconTypeFromName = (
- name: string
-): AvailableUnfilledIcon => {
+const iconTypeFromName = (name: string): AvailableUnfilledIcon => {
let ext = name.split('.').pop()
ext = ext ? ext.toLowerCase() : ext
@@ -18,3 +15,5 @@ export const newEditorIconTypeFromName = (
}
return 'description'
}
+
+export default iconTypeFromName
diff --git a/services/web/frontend/js/features/history/components/file-tree/history-file-tree-doc.tsx b/services/web/frontend/js/features/history/components/file-tree/history-file-tree-doc.tsx
index 5e5f755c71..8aea65e304 100644
--- a/services/web/frontend/js/features/history/components/file-tree/history-file-tree-doc.tsx
+++ b/services/web/frontend/js/features/history/components/file-tree/history-file-tree-doc.tsx
@@ -1,7 +1,7 @@
import { memo } from 'react'
import classNames from 'classnames'
import HistoryFileTreeItem from './history-file-tree-item'
-import { newEditorIconTypeFromName } from '../../../file-tree/util/icon-type-from-name'
+import iconTypeFromName from '../../../file-tree/util/icon-type-from-name'
import type { FileDiff } from '../../services/types/file'
import MaterialIcon from '@/shared/components/material-icon'
@@ -37,7 +37,7 @@ function HistoryFileTreeDoc({
icons={
}