removed unused part
All checks were successful
checks-impure / test (pull_request) Successful in 1m36s
checks / test (pull_request) Successful in 2m23s

This commit is contained in:
Johannes Kirschbauer 2023-11-17 16:21:42 +01:00 committed by DavHau
parent 808bd3defd
commit fb474a926a
2 changed files with 2 additions and 28 deletions

View File

@ -5,8 +5,6 @@ import MenuIcon from "@mui/icons-material/Menu";
import {
CssBaseline,
IconButton,
MenuItem,
Select,
ThemeProvider,
useMediaQuery,
} from "@mui/material";
@ -75,30 +73,6 @@ export default function RootLayout({
<Sidebar
show={showSidebarDerived}
onClose={() => setShowSidebar(false)}
clanSelect={
appState.data.clanDir && (
<Select
color="secondary"
label="clan"
fullWidth
variant="standard"
disableUnderline
value={appState.data.clanDir}
onChange={(ev) => {
appState.setAppState((c) => ({
...c,
clanDir: ev.target.value,
}));
}}
>
{appState.data.flakes?.map((clan) => (
<MenuItem value={clan} key={clan}>
{clan}
</MenuItem>
))}
</Select>
)
}
/>
</ThemeProvider>
<div

View File

@ -82,9 +82,9 @@ export function Sidebar(props: SidebarProps) {
show ? showSidebar : hideSidebar
} z-9999 static left-0 top-0 flex h-screen w-14 flex-col overflow-x-hidden overflow-y-hidden bg-blue-3 transition duration-150 ease-in-out lg:w-64`}
>
<div className="flex flex-col py-6 mt-8">
<div className="mt-8 flex flex-col py-6">
<div className="hidden w-full max-w-xs text-center shadow-sm lg:block">
<h3 className="m-0 pb-2 w-full font-semibold text-white">
<h3 className="m-0 w-full pb-2 font-semibold text-white">
Clan Dashboard
</h3>
</div>