Skip to content

Commit 9d313d5

Browse files
committed
refactor: remove useless imports
1 parent 8ffb58f commit 9d313d5

File tree

4 files changed

+0
-4
lines changed

4 files changed

+0
-4
lines changed

src/Components/ContextMenu/contextMenu.ts

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import MultipleSelectedMenu from './configs/multipleSelectedMenu.config';
55
import contextMenuItem from '../../Typings/contextMenuItem';
66
import fileThumbnail from '../Thumbnail/thumbnail';
77
import { getSelected } from '../Files/File Operation/select';
8-
import { updateTheme } from '../Theme/theme';
98
import FileMenu from './configs/fileMenu.config';
109

1110
let contextMenu = document.querySelector('.contextmenu') as HTMLElement;

src/Components/Files/File Preview/preview.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { updateTheme } from '../../Theme/theme';
21
import PromptError from '../../Prompt/error';
32
import { HTML_TYPE, IMAGE_TYPES, VIDEO_TYPES, PLAIN_TEXT, MARKDOWN_TYPES } from '../../../Config/file.config';
43
import getBasename from '../../Functions/path/basename';

src/Components/Properties/properties.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import formatBytes from '../Functions/filesize';
22
import DirectoryAPI from '../../Api/directory';
3-
import { updateTheme } from '../Theme/theme';
43
/**
54
* Render file/folder properties into HTML
65
* @param {Record<string, unknown>} options - File/folder's properties

src/Components/Setting/setting.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import Translate from '../I18n/i18n';
2-
import { updateTheme } from '../Theme/theme';
32
import fileThumbnail from '../Thumbnail/thumbnail';
43

54
import About from './About/about';

0 commit comments

Comments
 (0)