From 018fc48bc2b405bff1c1680d35ea1beafe4ca417 Mon Sep 17 00:00:00 2001 From: Mathias Wagner Date: Sat, 5 Aug 2023 20:52:55 +0200 Subject: [PATCH] Updated the InstallSoftware.jsx --- .../src/pages/tools/linux/InstallSoftware/InstallSoftware.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/pages/tools/linux/InstallSoftware/InstallSoftware.jsx b/client/src/pages/tools/linux/InstallSoftware/InstallSoftware.jsx index b145509..01dbc8c 100644 --- a/client/src/pages/tools/linux/InstallSoftware/InstallSoftware.jsx +++ b/client/src/pages/tools/linux/InstallSoftware/InstallSoftware.jsx @@ -13,7 +13,7 @@ import {ServerProvider} from "@/common/contexts/Server"; export const InstallSoftware = () => { const [currentItem, setCurrentItem] = useState(Software[0].name); - const backendAvailable = useContext(StatusContext); + const {backendAvailable} = useContext(StatusContext); const [serverDialogOpen, setServerDialogOpen] = useState(false); return (