From 847e0855d8fdffc38845367b854512868039c262 Mon Sep 17 00:00:00 2001 From: ajnart Date: Tue, 2 Aug 2022 00:21:51 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=83=F0=9F=8F=BB=20Typing,=20Styling,?= =?UTF-8?q?=20Formatting?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Config/LoadConfig.tsx | 8 +------- src/components/Settings/AdvancedSettings.tsx | 2 +- src/components/Settings/AppCardWidthSelector.tsx | 2 +- src/components/Settings/CommonSettings.tsx | 2 +- src/components/Settings/OpacitySelector.tsx | 2 +- src/components/layout/Widgets.tsx | 2 +- 6 files changed, 6 insertions(+), 12 deletions(-) diff --git a/src/components/Config/LoadConfig.tsx b/src/components/Config/LoadConfig.tsx index 122c5acc9..75d6972fa 100644 --- a/src/components/Config/LoadConfig.tsx +++ b/src/components/Config/LoadConfig.tsx @@ -1,11 +1,5 @@ import { Group, Text, useMantineTheme } from '@mantine/core'; -import { - IconX as X, - IconCheck as Check, - IconX, - IconPhoto, - IconUpload, -} from '@tabler/icons'; +import { IconX as X, IconCheck as Check, IconX, IconPhoto, IconUpload } from '@tabler/icons'; import { showNotification } from '@mantine/notifications'; import { setCookie } from 'cookies-next'; import { Dropzone } from '@mantine/dropzone'; diff --git a/src/components/Settings/AdvancedSettings.tsx b/src/components/Settings/AdvancedSettings.tsx index 05f631d6b..fe9909b94 100644 --- a/src/components/Settings/AdvancedSettings.tsx +++ b/src/components/Settings/AdvancedSettings.tsx @@ -1,4 +1,4 @@ -import { TextInput, Group, Button, Stack } from '@mantine/core'; +import { TextInput, Button, Stack } from '@mantine/core'; import { useForm } from '@mantine/form'; import { useConfig } from '../../tools/state'; import { ColorSelector } from './ColorSelector'; diff --git a/src/components/Settings/AppCardWidthSelector.tsx b/src/components/Settings/AppCardWidthSelector.tsx index bd9e74223..26b453cd3 100644 --- a/src/components/Settings/AppCardWidthSelector.tsx +++ b/src/components/Settings/AppCardWidthSelector.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { Group, Text, Slider, Stack } from '@mantine/core'; +import { Text, Slider, Stack } from '@mantine/core'; import { useConfig } from '../../tools/state'; export function AppCardWidthSelector() { diff --git a/src/components/Settings/CommonSettings.tsx b/src/components/Settings/CommonSettings.tsx index d65850ec4..f77fb0061 100644 --- a/src/components/Settings/CommonSettings.tsx +++ b/src/components/Settings/CommonSettings.tsx @@ -1,4 +1,4 @@ -import { Group, Text, SegmentedControl, TextInput, Stack } from '@mantine/core'; +import { Text, SegmentedControl, TextInput, Stack } from '@mantine/core'; import { useState } from 'react'; import { useConfig } from '../../tools/state'; import { ColorSchemeSwitch } from '../ColorSchemeToggle/ColorSchemeSwitch'; diff --git a/src/components/Settings/OpacitySelector.tsx b/src/components/Settings/OpacitySelector.tsx index 8a898ded2..9e6ca1594 100644 --- a/src/components/Settings/OpacitySelector.tsx +++ b/src/components/Settings/OpacitySelector.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { Group, Text, Slider, Stack } from '@mantine/core'; +import { Text, Slider, Stack } from '@mantine/core'; import { useConfig } from '../../tools/state'; export function OpacitySelector() { diff --git a/src/components/layout/Widgets.tsx b/src/components/layout/Widgets.tsx index 69bb85089..307671011 100644 --- a/src/components/layout/Widgets.tsx +++ b/src/components/layout/Widgets.tsx @@ -1,4 +1,4 @@ -import { Group, Stack } from '@mantine/core'; +import { Stack } from '@mantine/core'; import { CalendarModule, DateModule, TotalDownloadsModule, WeatherModule } from '../../modules'; import { DashdotModule } from '../../modules/dashdot'; import { ModuleWrapper } from '../../modules/moduleWrapper';