1
0
Fork 0
mirror of https://git.sr.ht/~ashkeel/strimertul synced 2024-09-18 01:50:50 +00:00

minor cleanups

This commit is contained in:
Ash Keel 2022-01-10 11:21:50 +01:00
parent 0b7f7fe069
commit a39e8f03d4
No known key found for this signature in database
GPG key ID: BAD8D93E7314ED3E
3 changed files with 5 additions and 15 deletions

View file

@ -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', {

View file

@ -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;

View file

@ -1,3 +1,5 @@
/* eslint-disable import/prefer-default-export */
import { theme } from '.';
import { styled } from './theme';