mirror of
https://git.sr.ht/~ashkeel/strimertul
synced 2024-09-20 02:00:49 +00:00
minor cleanups
This commit is contained in:
parent
0b7f7fe069
commit
a39e8f03d4
3 changed files with 5 additions and 15 deletions
|
@ -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', {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
/* eslint-disable import/prefer-default-export */
|
||||
|
||||
import { theme } from '.';
|
||||
import { styled } from './theme';
|
||||
|
||||
|
|
Loading…
Reference in a new issue