fix: remove heroicons references and unused icons

This commit is contained in:
Jake Turner 2026-02-01 04:56:39 +00:00 committed by Jake Turner
parent 68f374e3a8
commit a2aa33168d
3 changed files with 4 additions and 5 deletions

View File

@ -48,7 +48,7 @@ const WikipediaSelector: React.FC<WikipediaSelectorProps> = ({
{/* Downloading status message */} {/* Downloading status message */}
{isDownloading && ( {isDownloading && (
<div className="mb-4 p-3 bg-blue-50 border border-blue-200 rounded-lg flex items-center gap-2"> <div className="mb-4 p-3 bg-blue-50 border border-blue-200 rounded-lg flex items-center gap-2">
<LoadingSpinner size="sm" /> <LoadingSpinner className='size-5' />
<span className="text-sm text-blue-700"> <span className="text-sm text-blue-700">
Downloading Wikipedia... This may take a while for larger packages. Downloading Wikipedia... This may take a while for larger packages.
</span> </span>
@ -143,7 +143,7 @@ const WikipediaSelector: React.FC<WikipediaSelectorProps> = ({
onClick={onSubmit} onClick={onSubmit}
disabled={isSubmitting || disabled} disabled={isSubmitting || disabled}
loading={isSubmitting} loading={isSubmitting}
icon="ArrowDownTrayIcon" icon="IconDownload"
> >
{selectedOptionId === 'none' ? 'Remove Wikipedia' : 'Download Selected'} {selectedOptionId === 'none' ? 'Remove Wikipedia' : 'Download Selected'}
</StyledButton> </StyledButton>

View File

@ -11,13 +11,13 @@ import TierSelectionModal from '~/components/TierSelectionModal'
import WikipediaSelector from '~/components/WikipediaSelector' import WikipediaSelector from '~/components/WikipediaSelector'
import LoadingSpinner from '~/components/LoadingSpinner' import LoadingSpinner from '~/components/LoadingSpinner'
import Alert from '~/components/Alert' import Alert from '~/components/Alert'
import { IconCheck, IconChevronDown, IconChevronUp, IconArrowRight, IconCpu, IconBooks } from '@tabler/icons-react' import { IconCheck, IconChevronDown, IconChevronUp, IconCpu, IconBooks } from '@tabler/icons-react'
import StorageProjectionBar from '~/components/StorageProjectionBar' import StorageProjectionBar from '~/components/StorageProjectionBar'
import { useNotifications } from '~/context/NotificationContext' import { useNotifications } from '~/context/NotificationContext'
import useInternetStatus from '~/hooks/useInternetStatus' import useInternetStatus from '~/hooks/useInternetStatus'
import { useSystemInfo } from '~/hooks/useSystemInfo' import { useSystemInfo } from '~/hooks/useSystemInfo'
import classNames from 'classnames' import classNames from 'classnames'
import { CuratedCategory, CategoryTier, CategoryResource, WikipediaState } from '../../../types/downloads' import { CuratedCategory, CategoryTier, CategoryResource } from '../../../types/downloads'
// Capability definitions - maps user-friendly categories to services // Capability definitions - maps user-friendly categories to services
interface Capability { interface Capability {

View File

@ -33,7 +33,6 @@ import {
CuratedCategory, CuratedCategory,
CategoryTier, CategoryTier,
CategoryResource, CategoryResource,
WikipediaState,
} from '../../../../types/downloads' } from '../../../../types/downloads'
import useDownloads from '~/hooks/useDownloads' import useDownloads from '~/hooks/useDownloads'
import ActiveDownloads from '~/components/ActiveDownloads' import ActiveDownloads from '~/components/ActiveDownloads'