Skip to content

Commit

Permalink
refactor: remove useless imports
Browse files Browse the repository at this point in the history
  • Loading branch information
kimlimjustin committed Dec 21, 2021
1 parent 8ffb58f commit 9d313d5
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/Components/ContextMenu/contextMenu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import MultipleSelectedMenu from './configs/multipleSelectedMenu.config';
import contextMenuItem from '../../Typings/contextMenuItem';
import fileThumbnail from '../Thumbnail/thumbnail';
import { getSelected } from '../Files/File Operation/select';
import { updateTheme } from '../Theme/theme';
import FileMenu from './configs/fileMenu.config';

let contextMenu = document.querySelector('.contextmenu') as HTMLElement;
Expand Down
1 change: 0 additions & 1 deletion src/Components/Files/File Preview/preview.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { updateTheme } from '../../Theme/theme';
import PromptError from '../../Prompt/error';
import { HTML_TYPE, IMAGE_TYPES, VIDEO_TYPES, PLAIN_TEXT, MARKDOWN_TYPES } from '../../../Config/file.config';
import getBasename from '../../Functions/path/basename';
Expand Down
1 change: 0 additions & 1 deletion src/Components/Properties/properties.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import formatBytes from '../Functions/filesize';
import DirectoryAPI from '../../Api/directory';
import { updateTheme } from '../Theme/theme';
/**
* Render file/folder properties into HTML
* @param {Record<string, unknown>} options - File/folder's properties
Expand Down
1 change: 0 additions & 1 deletion src/Components/Setting/setting.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import Translate from '../I18n/i18n';
import { updateTheme } from '../Theme/theme';
import fileThumbnail from '../Thumbnail/thumbnail';

import About from './About/about';
Expand Down

0 comments on commit 9d313d5

Please sign in to comment.