don't use deprecated variants

This commit is contained in:
Rick Watson
2019-05-14 22:43:37 +01:00
parent 16eedb8171
commit f93804c240
9 changed files with 17 additions and 17 deletions

View File

@@ -107,7 +107,7 @@ class APStatus extends Component {
!fetched ?
<div>
<LinearProgress className={classes.fetching}/>
<Typography variant="display1" className={classes.fetching}>
<Typography variant="h4" className={classes.fetching}>
Loading...
</Typography>
</div>
@@ -115,7 +115,7 @@ class APStatus extends Component {
data ? this.renderAPStatus(data, classes)
:
<div>
<Typography variant="display1" className={classes.fetching}>
<Typography variant="h4" className={classes.fetching}>
{errorMessage}
</Typography>
<Button variant="contained" color="secondary" className={classes.button} onClick={this.props.loadData}>

View File

@@ -126,7 +126,7 @@ class NTPStatus extends Component {
!fetched ?
<div>
<LinearProgress className={classes.fetching}/>
<Typography variant="display1" className={classes.fetching}>
<Typography variant="h4" className={classes.fetching}>
Loading...
</Typography>
</div>
@@ -134,7 +134,7 @@ class NTPStatus extends Component {
data ? this.renderNTPStatus(data, classes)
:
<div>
<Typography variant="display1" className={classes.fetching}>
<Typography variant="h4" className={classes.fetching}>
{errorMessage}
</Typography>
<Button variant="contained" color="secondary" className={classes.button} onClick={this.props.loadData}>

View File

@@ -137,7 +137,7 @@ class WiFiStatus extends Component {
!fetched ?
<div>
<LinearProgress className={classes.fetching} />
<Typography variant="display1" className={classes.fetching}>
<Typography variant="h4" className={classes.fetching}>
Loading...
</Typography>
</div>
@@ -145,7 +145,7 @@ class WiFiStatus extends Component {
data ? this.renderWiFiStatus(data, classes)
:
<div>
<Typography variant="display1" className={classes.fetching}>
<Typography variant="h4" className={classes.fetching}>
{errorMessage}
</Typography>
<Button variant="contained" color="secondary" className={classes.button} onClick={this.props.loadData}>