refactor(striker-ui): migrate MUI v4->5 on Storage

main
Tsu-ba-me 3 years ago
parent b112f84210
commit 9f3a987e3e
  1. 4
      striker-ui/components/Storage.tsx

@ -1,4 +1,4 @@
import { Grid } from '@material-ui/core'; import { Grid } from '@mui/material';
import * as prettyBytes from 'pretty-bytes'; import * as prettyBytes from 'pretty-bytes';
import { Panel } from './Panels'; import { Panel } from './Panels';
import { AllocationBar } from './Bars'; import { AllocationBar } from './Bars';
@ -14,7 +14,7 @@ const Storage = ({ uuid }: { uuid: string }): JSX.Element => {
return ( return (
<Panel> <Panel>
<Grid container alignItems="center" justify="space-around"> <Grid container alignItems="center" justifyContent="space-around">
<Grid item xs={12}> <Grid item xs={12}>
<HeaderText text="Storage Resync" /> <HeaderText text="Storage Resync" />
</Grid> </Grid>

Loading…
Cancel
Save