From b285499fbff6c02c5f46b8fb32b1004aa41c7b7f Mon Sep 17 00:00:00 2001 From: Nick Mowen Date: Sat, 19 Nov 2022 08:15:45 -0700 Subject: [PATCH] await vainfo response --- web/src/routes/System.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/routes/System.jsx b/web/src/routes/System.jsx index d2345d3a6..8010b9139 100644 --- a/web/src/routes/System.jsx +++ b/web/src/routes/System.jsx @@ -79,7 +79,7 @@ export default function System() { e.stopPropagation(); } - const response = axios.get('vainfo'); + const response = await axios.get('vainfo'); if (response.status === 200) { setState({ ...state, showVainfo: true, vainfo: JSON.stringify(response.data, null, 2) });