fix typo
This commit is contained in:
		| @@ -132,7 +132,7 @@ class SystemStatus extends Component { | |||||||
|     redirectingAuthorizedFetch(RESET_ENDPOINT, { method: 'POST' }) |     redirectingAuthorizedFetch(RESET_ENDPOINT, { method: 'POST' }) | ||||||
|       .then(response => { |       .then(response => { | ||||||
|         if (response.status === 200) { |         if (response.status === 200) { | ||||||
|           this.props.enqueueSnackbar("Device is reseting", { variant: 'info' }); |           this.props.enqueueSnackbar("Device is resetting", { variant: 'info' }); | ||||||
|           this.setState({ processing: false, confirmReset: false }); |           this.setState({ processing: false, confirmReset: false }); | ||||||
|         } else { |         } else { | ||||||
|           throw Error("Invalid status code: " + response.status); |           throw Error("Invalid status code: " + response.status); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user