From 503e69a499f522aac0e1a69ec9d008aea4ac37c8 Mon Sep 17 00:00:00 2001 From: NimBold Date: Mon, 15 Jun 2026 13:35:58 +0330 Subject: [PATCH] fix: remove unused imports causing CI failure --- src/components/DownloadTable.tsx | 2 +- src/store/useDownloadStore.ts | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/components/DownloadTable.tsx b/src/components/DownloadTable.tsx index d676792..40d851d 100644 --- a/src/components/DownloadTable.tsx +++ b/src/components/DownloadTable.tsx @@ -2,7 +2,7 @@ import React, { useState, useEffect } from 'react'; import { useDownloadStore, DownloadItem } from '../store/useDownloadStore'; import { useSettingsStore } from '../store/useSettingsStore'; import { SidebarFilter } from './Sidebar'; -import { Play, Pause, Plus, Trash2, FileText, Image as ImageIcon, Music, Film, Box, Archive, FileQuestion, MoreVertical, PanelLeft, ArrowDownCircle, Command } from 'lucide-react'; +import { Play, Pause, Plus, FileText, Image as ImageIcon, Music, Film, Box, Archive, FileQuestion, MoreVertical, PanelLeft, ArrowDownCircle, Command } from 'lucide-react'; import { invokeCommand as invoke } from '../ipc'; import { homeDir } from '@tauri-apps/api/path'; diff --git a/src/store/useDownloadStore.ts b/src/store/useDownloadStore.ts index 83b1798..09294c8 100644 --- a/src/store/useDownloadStore.ts +++ b/src/store/useDownloadStore.ts @@ -5,11 +5,6 @@ import type { DownloadStatus } from '../bindings/DownloadStatus'; import type { ExtensionDownload } from '../bindings/ExtensionDownload'; import type { Queue } from '../bindings/Queue'; import { useSettingsStore } from './useSettingsStore'; -import { - categoryForFileName, - fileNameFromUrl, - isMediaUrl -} from '../utils/downloads'; export type { DownloadCategory } from '../utils/downloads';