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 { useDispatch, useSelector } from 'react-redux';
|
||||||
import {
|
import {
|
||||||
ChatBubbleIcon,
|
ChatBubbleIcon,
|
||||||
|
@ -20,17 +20,7 @@ import ServerSettingsPage from './pages/ServerSettings';
|
||||||
import { RootState } from '../store';
|
import { RootState } from '../store';
|
||||||
import { createWSClient } from '../store/api/reducer';
|
import { createWSClient } from '../store/api/reducer';
|
||||||
import { ConnectionStatus } from '../store/api/types';
|
import { ConnectionStatus } from '../store/api/types';
|
||||||
import {
|
import { styled } from './theme';
|
||||||
Button,
|
|
||||||
Dialog,
|
|
||||||
DialogContainer,
|
|
||||||
FlexRow,
|
|
||||||
InputBox,
|
|
||||||
PageHeader,
|
|
||||||
PageTitle,
|
|
||||||
styled,
|
|
||||||
TextBlock,
|
|
||||||
} from './theme';
|
|
||||||
|
|
||||||
// @ts-expect-error Asset import
|
// @ts-expect-error Asset import
|
||||||
import spinner from '../assets/icon-loading.svg';
|
import spinner from '../assets/icon-loading.svg';
|
||||||
|
@ -38,8 +28,6 @@ import BackendIntegrationPage from './pages/BackendIntegration';
|
||||||
import TwitchSettingsPage from './pages/TwitchSettings';
|
import TwitchSettingsPage from './pages/TwitchSettings';
|
||||||
import TwitchBotCommandsPage from './pages/BotCommands';
|
import TwitchBotCommandsPage from './pages/BotCommands';
|
||||||
import TwitchBotTimersPage from './pages/BotTimers';
|
import TwitchBotTimersPage from './pages/BotTimers';
|
||||||
import { useTranslation } from 'react-i18next';
|
|
||||||
import DialogContent from './components/DialogContent';
|
|
||||||
import AuthDialog from './pages/AuthDialog';
|
import AuthDialog from './pages/AuthDialog';
|
||||||
|
|
||||||
const LoadingDiv = styled('div', {
|
const LoadingDiv = styled('div', {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { Cross2Icon } from '@radix-ui/react-icons';
|
import { Cross2Icon } from '@radix-ui/react-icons';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { useTranslation } from 'react-i18next';
|
import { useTranslation } from 'react-i18next';
|
||||||
import { Button, FlexRow, InputBox, Textarea } from '../theme';
|
import { Button, FlexRow, Textarea } from '../theme';
|
||||||
|
|
||||||
export interface MessageArrayProps {
|
export interface MessageArrayProps {
|
||||||
placeholder?: string;
|
placeholder?: string;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
/* eslint-disable import/prefer-default-export */
|
||||||
|
|
||||||
import { theme } from '.';
|
import { theme } from '.';
|
||||||
import { styled } from './theme';
|
import { styled } from './theme';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue