diff --git a/striker-ui/components/Network.tsx b/striker-ui/components/Network/Network.tsx similarity index 91% rename from striker-ui/components/Network.tsx rename to striker-ui/components/Network/Network.tsx index 1eb69c68..4d0c7fb7 100644 --- a/striker-ui/components/Network.tsx +++ b/striker-ui/components/Network/Network.tsx @@ -2,12 +2,12 @@ import { useContext } from 'react'; import { Box, Divider } from '@material-ui/core'; import { makeStyles } from '@material-ui/core/styles'; import { ClassNameMap } from '@material-ui/styles'; -import { Panel } from './Panels'; -import { HeaderText, BodyText } from './Text'; -import PeriodicFetch from '../lib/fetchers/periodicFetch'; -import { BLUE, PURPLE_OFF, DIVIDER } from '../lib/consts/DEFAULT_THEME'; +import { Panel } from '../Panels'; +import { HeaderText, BodyText } from '../Text'; +import PeriodicFetch from '../../lib/fetchers/periodicFetch'; +import { BLUE, PURPLE_OFF, DIVIDER } from '../../lib/consts/DEFAULT_THEME'; import processNetworkData from './processNetwork'; -import { AnvilContext } from './AnvilContext'; +import { AnvilContext } from '../AnvilContext'; const useStyles = makeStyles((theme) => ({ container: { diff --git a/striker-ui/components/Network/index.tsx b/striker-ui/components/Network/index.tsx new file mode 100644 index 00000000..a6382ec9 --- /dev/null +++ b/striker-ui/components/Network/index.tsx @@ -0,0 +1,3 @@ +import Network from './Network'; + +export default Network; diff --git a/striker-ui/components/processNetwork.ts b/striker-ui/components/Network/processNetwork.ts similarity index 100% rename from striker-ui/components/processNetwork.ts rename to striker-ui/components/Network/processNetwork.ts