From 8468344d3f1a194a26c39090582835b59b1153de Mon Sep 17 00:00:00 2001 From: Tsu-ba-me Date: Wed, 23 Feb 2022 12:39:04 -0500 Subject: [PATCH] refactor(striker-ui): reorder imports in Servers --- striker-ui/components/Servers.tsx | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/striker-ui/components/Servers.tsx b/striker-ui/components/Servers.tsx index cf5ef30f..aa7e451f 100644 --- a/striker-ui/components/Servers.tsx +++ b/striker-ui/components/Servers.tsx @@ -1,13 +1,14 @@ import { useState, useContext, useRef } from 'react'; import { - List, - ListItem, - Divider, Box, Button, Checkbox, + Divider, + List, + ListItem, Menu, MenuItem, + styled, Typography, } from '@mui/material'; import { @@ -16,27 +17,28 @@ import { Edit as EditIcon, MoreVert as MoreVertIcon, } from '@mui/icons-material'; -import { styled } from '@mui/material/styles'; -import { Panel, PanelHeader } from './Panels'; -import PeriodicFetch from '../lib/fetchers/periodicFetch'; -import { HeaderText, BodyText } from './Text'; + import { - HOVER, - DIVIDER, - TEXT, + BLACK, BLUE, - RED, + DIVIDER, GREY, - BLACK, + HOVER, LARGE_MOBILE_BREAKPOINT, + RED, + TEXT, } from '../lib/consts/DEFAULT_THEME'; -import { AnvilContext } from './AnvilContext'; import serverState from '../lib/consts/SERVERS'; + +import { AnvilContext } from './AnvilContext'; import Decorator, { Colours } from './Decorator'; import IconButton from './IconButton'; +import { Panel, PanelHeader } from './Panels'; import Spinner from './Spinner'; -import hostsSanitizer from '../lib/sanitizers/hostsSanitizer'; +import { BodyText, HeaderText } from './Text'; +import hostsSanitizer from '../lib/sanitizers/hostsSanitizer'; +import PeriodicFetch from '../lib/fetchers/periodicFetch'; import putFetch from '../lib/fetchers/putFetch'; const PREFIX = 'Servers';