From 842ffe83cbc3f95e4d07ddf06fa00f9c3b1ef5d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paulius=20Preik=C5=A1a?= Date: Tue, 28 May 2024 22:37:59 +0300 Subject: [PATCH] other: disable tool menu --- .../components/displays/extension/ExtensionDisplay.tsx | 8 ++++---- GUI/front-end/src/main/app/App.tsx | 7 ++++--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/GUI/front-end/src/components/displays/extension/ExtensionDisplay.tsx b/GUI/front-end/src/components/displays/extension/ExtensionDisplay.tsx index 2801598..b0520b7 100644 --- a/GUI/front-end/src/components/displays/extension/ExtensionDisplay.tsx +++ b/GUI/front-end/src/components/displays/extension/ExtensionDisplay.tsx @@ -1,8 +1,8 @@ import { Box, Typography, useTheme } from '@mui/material'; import { useState } from 'react'; import { useLanguageContext } from '../../../contexts'; -import FunctionalityInstance from './FunctionalityInstance'; -import HistoryInstance from './HistoryInstance'; +// import FunctionalityInstance from './FunctionalityInstance'; +// import HistoryInstance from './HistoryInstance'; interface Props {} @@ -50,7 +50,7 @@ export const ExtensionDisplay: React.FC = () => { - = () => { sx={{ backgroundColor: Theme.palette.background.paper }} > {selectedTab === 'Functionality' ? : } - + */} ); }; diff --git a/GUI/front-end/src/main/app/App.tsx b/GUI/front-end/src/main/app/App.tsx index 213b886..beeab4f 100644 --- a/GUI/front-end/src/main/app/App.tsx +++ b/GUI/front-end/src/main/app/App.tsx @@ -15,8 +15,8 @@ function App() { }, [data]); ///////////////////////////////////////////////// - - const [isDrawerOpen, setIsDrawerOpen] = React.useState(true); + + const [isDrawerOpen, setIsDrawerOpen] = React.useState(false); const Theme = useTheme(); useEffect(() => { @@ -60,7 +60,8 @@ function App() { }} > {/* Up - header */} - setIsDrawerOpen(!isDrawerOpen)} /> + {/* TODO: set to isDrawerOpen */} + setIsDrawerOpen(!isDrawerOpen)} /> {/* Chat display */}