diff --git a/frontend/src/ui/App.tsx b/frontend/src/ui/App.tsx index 14da8ab..d28aac3 100644 --- a/frontend/src/ui/App.tsx +++ b/frontend/src/ui/App.tsx @@ -1,4 +1,4 @@ -import React, { useEffect, useState } from 'react'; +import React, { useEffect } from 'react'; import { useDispatch, useSelector } from 'react-redux'; import { ChatBubbleIcon, @@ -20,17 +20,7 @@ import ServerSettingsPage from './pages/ServerSettings'; import { RootState } from '../store'; import { createWSClient } from '../store/api/reducer'; import { ConnectionStatus } from '../store/api/types'; -import { - Button, - Dialog, - DialogContainer, - FlexRow, - InputBox, - PageHeader, - PageTitle, - styled, - TextBlock, -} from './theme'; +import { styled } from './theme'; // @ts-expect-error Asset import import spinner from '../assets/icon-loading.svg'; @@ -38,8 +28,6 @@ import BackendIntegrationPage from './pages/BackendIntegration'; import TwitchSettingsPage from './pages/TwitchSettings'; import TwitchBotCommandsPage from './pages/BotCommands'; import TwitchBotTimersPage from './pages/BotTimers'; -import { useTranslation } from 'react-i18next'; -import DialogContent from './components/DialogContent'; import AuthDialog from './pages/AuthDialog'; const LoadingDiv = styled('div', { diff --git a/frontend/src/ui/components/MultiInput.tsx b/frontend/src/ui/components/MultiInput.tsx index b1c5577..9a04bd5 100644 --- a/frontend/src/ui/components/MultiInput.tsx +++ b/frontend/src/ui/components/MultiInput.tsx @@ -1,7 +1,7 @@ import { Cross2Icon } from '@radix-ui/react-icons'; import React from 'react'; import { useTranslation } from 'react-i18next'; -import { Button, FlexRow, InputBox, Textarea } from '../theme'; +import { Button, FlexRow, Textarea } from '../theme'; export interface MessageArrayProps { placeholder?: string; diff --git a/frontend/src/ui/theme/utils.ts b/frontend/src/ui/theme/utils.ts index 7c2f796..b81c060 100644 --- a/frontend/src/ui/theme/utils.ts +++ b/frontend/src/ui/theme/utils.ts @@ -1,3 +1,5 @@ +/* eslint-disable import/prefer-default-export */ + import { theme } from '.'; import { styled } from './theme';