refactor: move Network to its own module

main
Josue 4 years ago committed by Tsu-ba-me
parent cfff53bf1a
commit 844e201c0b
  1. 10
      striker-ui/components/Network/Network.tsx
  2. 3
      striker-ui/components/Network/index.tsx
  3. 0
      striker-ui/components/Network/processNetwork.ts

@ -2,12 +2,12 @@ import { useContext } from 'react';
import { Box, Divider } from '@material-ui/core'; import { Box, Divider } from '@material-ui/core';
import { makeStyles } from '@material-ui/core/styles'; import { makeStyles } from '@material-ui/core/styles';
import { ClassNameMap } from '@material-ui/styles'; import { ClassNameMap } from '@material-ui/styles';
import { Panel } from './Panels'; import { Panel } from '../Panels';
import { HeaderText, BodyText } from './Text'; import { HeaderText, BodyText } from '../Text';
import PeriodicFetch from '../lib/fetchers/periodicFetch'; import PeriodicFetch from '../../lib/fetchers/periodicFetch';
import { BLUE, PURPLE_OFF, DIVIDER } from '../lib/consts/DEFAULT_THEME'; import { BLUE, PURPLE_OFF, DIVIDER } from '../../lib/consts/DEFAULT_THEME';
import processNetworkData from './processNetwork'; import processNetworkData from './processNetwork';
import { AnvilContext } from './AnvilContext'; import { AnvilContext } from '../AnvilContext';
const useStyles = makeStyles((theme) => ({ const useStyles = makeStyles((theme) => ({
container: { container: {

@ -0,0 +1,3 @@
import Network from './Network';
export default Network;
Loading…
Cancel
Save