Set vainfo output in error correctly

This commit is contained in:
Nick Mowen 2022-11-13 13:35:43 -07:00
parent 82e9b345bb
commit 51fe3dde40

View File

@ -84,7 +84,7 @@ export default function System() {
if (response.status === 200) {
setState({ ...state, showVainfo: true, vainfo: JSON.stringify(resonse.data, null, 2)})
} else {
setState({ ...state, showVainfo: true, 'There was an error getting the vainfo output.'})
setState({ ...state, showVainfo: true, vainfo: 'There was an error getting the vainfo output.'})
}
};