refactor: reove Grid components and use Box instead

main
Josue 4 years ago committed by Tsu-ba-me
parent f4a6e1c520
commit 3264361d19
  1. 3
      striker-ui/components/Anvils/index.tsx

@ -1,4 +1,3 @@
import { Grid } from '@material-ui/core';
import Panel from '../Panel'; import Panel from '../Panel';
import PeriodicFetch from '../../lib/fetchers/periodicFetch'; import PeriodicFetch from '../../lib/fetchers/periodicFetch';
import SelectedAnvil from './SelectedAnvil'; import SelectedAnvil from './SelectedAnvil';
@ -21,10 +20,8 @@ const Anvils = ({ list }: { list: AnvilList | undefined }): JSX.Element => {
return ( return (
<Panel> <Panel>
<Grid container alignItems="center" justify="space-around">
<SelectedAnvil anvil={anvils[0]} /> <SelectedAnvil anvil={anvils[0]} />
<AnvilList list={anvils} /> <AnvilList list={anvils} />
</Grid>
</Panel> </Panel>
); );
}; };

Loading…
Cancel
Save