Skip to content

Commit

Permalink
other: disable tool menu
Browse files Browse the repository at this point in the history
  • Loading branch information
PauliusPreiksaCode committed May 28, 2024
1 parent ce3c5e9 commit 842ffe8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -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 {}

Expand Down Expand Up @@ -50,15 +50,15 @@ export const ExtensionDisplay: React.FC<Props> = () => {
</Typography>
</Box>
</Box>
<Box
{/* <Box
display={'flex'}
flexDirection={'column'}
height={'calc(100% - 80px)'}
width={'100%'}
sx={{ backgroundColor: Theme.palette.background.paper }}
>
{selectedTab === 'Functionality' ? <FunctionalityInstance /> : <HistoryInstance />}
</Box>
</Box> */}
</Box>
);
};
7 changes: 4 additions & 3 deletions GUI/front-end/src/main/app/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ function App() {
}, [data]);

/////////////////////////////////////////////////

const [isDrawerOpen, setIsDrawerOpen] = React.useState(true);
const [isDrawerOpen, setIsDrawerOpen] = React.useState(false);
const Theme = useTheme();

useEffect(() => {
Expand Down Expand Up @@ -60,7 +60,8 @@ function App() {
}}
>
{/* Up - header */}
<HeaderLayout open={isDrawerOpen} onClick={() => setIsDrawerOpen(!isDrawerOpen)} />
{/* TODO: set to isDrawerOpen */}
<HeaderLayout open={false} onClick={() => setIsDrawerOpen(!isDrawerOpen)} />

{/* Chat display */}
<Box
Expand Down

0 comments on commit 842ffe8

Please sign in to comment.