Skip to content
Snippets Groups Projects
Commit c862d2c1 authored by Dickson Law's avatar Dickson Law Committed by Chris Beer
Browse files

Fix justify error

Replaced the lines responsible for this error:

```
Warning: Failed prop type: The prop `justify` of `ForwardRef(Grid)` is deprecated. Use `justifyContent` instead, the prop was renamed.
```
parent 5844ca84
Branches
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@ export class ManifestListItemError extends Component {
<Grid container>
<Grid container item xs={12} sm={6}>
<Grid item xs={4} sm={3}>
<Grid container justify="center">
<Grid container justifyContent="center">
<ErrorIcon className={classes.errorIcon} />
</Grid>
</Grid>
......@@ -35,7 +35,7 @@ export class ManifestListItemError extends Component {
</Grid>
<Grid container>
<Grid container item xs={12} sm={6} justify="flex-end">
<Grid container item xs={12} sm={6} justifyContent="flex-end">
<Grid item>
<Button onClick={() => { onDismissClick(manifestId); }}>
{t('dismiss')}
......
......@@ -30,7 +30,7 @@ export class SelectCollection extends Component {
t,
} = this.props;
return (
<Grid container justify="center" alignItems="center">
<Grid container justifyContent="center" alignItems="center">
<Grid container direction="column" alignItems="center">
<Typography variant="h4" paragraph>
<em>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment