From 86d243bffdfe6526758eb2f3e2fde261a3807772 Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Sat, 30 Mar 2024 14:12:15 +0200 Subject: [PATCH] Refactor AppLayout component --- frontend/src/components/layout/AppLayout.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/layout/AppLayout.tsx b/frontend/src/components/layout/AppLayout.tsx index de32f5b..11339a5 100644 --- a/frontend/src/components/layout/AppLayout.tsx +++ b/frontend/src/components/layout/AppLayout.tsx @@ -1,4 +1,4 @@ -import React, { useState, useMemo } from "react"; +import React, { useState } from "react"; import { styled } from "@mui/material/styles"; import AppRoutes from "./AppRoutes"; import TopBar from "./TopBar"; @@ -16,7 +16,7 @@ const DrawerHeader = styled("div")(({ theme }) => ({ ...theme.mixins.toolbar })); -const AppLayout = () => { +const AppLayout: React.FC = () => { const [open, setOpen] = useState(false); const handleDrawerOpen = () => {