🚨 Fix build warnings

This commit is contained in:
Manuel
2023-03-29 12:55:03 +02:00
parent 41e142634f
commit 13531a007c
6 changed files with 8 additions and 22 deletions

View File

@@ -1,4 +1,3 @@
import { useMantineTheme } from '@mantine/core';
import { create } from 'zustand';
import { useConfigContext } from '../../../../config/provider';
import { GridstackBreakpoints } from '../../../../constants/gridstack-breakpoints';

View File

@@ -1,13 +1,12 @@
import {
Table,
Checkbox,
Group,
Badge,
Checkbox,
createStyles,
Group,
ScrollArea,
TextInput,
useMantineTheme,
Table,
Text,
TextInput,
} from '@mantine/core';
import { useElementSize } from '@mantine/hooks';
import { IconSearch } from '@tabler/icons';

View File

@@ -1,6 +1,6 @@
import { Box, Indicator, IndicatorProps, Popover, useMantineTheme } from '@mantine/core';
import { Box, Indicator, IndicatorProps, Popover } from '@mantine/core';
import { useDisclosure } from '@mantine/hooks';
import { isToday } from '../../tools/isToday';
import { isToday } from '../../tools/shared/time/date.tool';
import { MediaList } from './MediaList';
import { MediasType } from './type';

View File

@@ -6,7 +6,6 @@ import { i18n } from 'next-i18next';
import { useState } from 'react';
import { useConfigContext } from '../../config/provider';
import { useColorTheme } from '../../tools/color';
import { isToday } from '../../tools/shared/time/date.tool';
import { defineWidget } from '../helper';
import { IWidget } from '../widgets';
import { CalendarDay } from './CalendarDay';

View File

@@ -9,7 +9,6 @@ import {
Table,
Text,
Title,
useMantineTheme,
} from '@mantine/core';
import { useElementSize } from '@mantine/hooks';
import { IconFileDownload } from '@tabler/icons';

View File

@@ -1,14 +1,4 @@
import {
Badge,
Button,
Group,
Select,
Stack,
Tabs,
Text,
Title,
useMantineTheme,
} from '@mantine/core';
import { Badge, Button, Group, Select, Stack, Tabs, Text, Title } from '@mantine/core';
import { IconFileDownload, IconPlayerPause, IconPlayerPlay } from '@tabler/icons';
import { useEffect, useState } from 'react';
@@ -17,6 +7,7 @@ import dayjs from 'dayjs';
import duration from 'dayjs/plugin/duration';
import { useTranslation } from 'next-i18next';
import { useConfigContext } from '../../config/provider';
import { MIN_WIDTH_MOBILE } from '../../constants/constants';
import {
useGetUsenetInfo,
usePauseUsenetQueue,
@@ -28,7 +19,6 @@ import { defineWidget } from '../helper';
import { IWidget } from '../widgets';
import { UsenetHistoryList } from './UsenetHistoryList';
import { UsenetQueueList } from './UsenetQueueList';
import { MIN_WIDTH_MOBILE } from '../../constants/constants';
dayjs.extend(duration);