feat: remove unused appshelf components

This commit is contained in:
Manuel Ruwe
2022-12-08 22:17:33 +01:00
parent afbf2d2d2f
commit b6bf6cc86b
12 changed files with 152 additions and 581 deletions

View File

@@ -20,7 +20,6 @@ import { NormalizedTorrent } from '@ctrl/shared-torrent';
import { useTranslation } from 'next-i18next';
import { IModule } from '../ModuleTypes';
import { useConfig } from '../../tools/state';
import { AddItemShelfButton } from '../../components/AppShelf/AddAppShelfItem';
import { useSetSafeInterval } from '../../tools/hooks/useSetSafeInterval';
import { humanFileSize } from '../../tools/humanFileSize';
@@ -93,7 +92,6 @@ export default function TorrentsComponent() {
<Title order={3}>{t('card.errors.noDownloadClients.title')}</Title>
<Group>
<Text>{t('card.errors.noDownloadClients.text')}</Text>
<AddItemShelfButton />
</Group>
</Stack>
);