removed unused part

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 { import {
CssBaseline, CssBaseline,
IconButton, IconButton,
MenuItem,
Select,
ThemeProvider, ThemeProvider,
useMediaQuery, useMediaQuery,
} from "@mui/material"; } from "@mui/material";
@@ -75,30 +73,6 @@ export default function RootLayout({
<Sidebar <Sidebar
show={showSidebarDerived} show={showSidebarDerived}
onClose={() => setShowSidebar(false)} 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> </ThemeProvider>
<div <div

View File

@@ -82,9 +82,9 @@ export function Sidebar(props: SidebarProps) {
show ? showSidebar : hideSidebar 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`} } 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"> <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 Clan Dashboard
</h3> </h3>
</div> </div>