Refactor AppLayout component

master
Tudor Stanciu 2024-03-30 14:12:15 +02:00
parent add5ae2734
commit 86d243bffd
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
import React, { useState, useMemo } from "react"; import React, { useState } from "react";
import { styled } from "@mui/material/styles"; import { styled } from "@mui/material/styles";
import AppRoutes from "./AppRoutes"; import AppRoutes from "./AppRoutes";
import TopBar from "./TopBar"; import TopBar from "./TopBar";
@ -16,7 +16,7 @@ const DrawerHeader = styled("div")(({ theme }) => ({
...theme.mixins.toolbar ...theme.mixins.toolbar
})); }));
const AppLayout = () => { const AppLayout: React.FC = () => {
const [open, setOpen] = useState(false); const [open, setOpen] = useState(false);
const handleDrawerOpen = () => { const handleDrawerOpen = () => {