From 57457f0e9c4e1770667193d4da3404271bf5838e Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sat, 3 Oct 2020 19:37:36 -0700 Subject: [PATCH] Oops, also include the server status --- resources/scripts/components/server/ServerDetailsBlock.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/scripts/components/server/ServerDetailsBlock.tsx b/resources/scripts/components/server/ServerDetailsBlock.tsx index 563dedf76..17a16370c 100644 --- a/resources/scripts/components/server/ServerDetailsBlock.tsx +++ b/resources/scripts/components/server/ServerDetailsBlock.tsx @@ -15,6 +15,7 @@ interface Stats { const ServerDetailsBlock = () => { const [ stats, setStats ] = useState({ memory: 0, cpu: 0, disk: 0 }); + const status = ServerContext.useStoreState(state => state.status.value); const connected = ServerContext.useStoreState(state => state.socket.connected); const instance = ServerContext.useStoreState(state => state.socket.instance);