diff --git a/frontend/src/components/PrivateLayout/header/header.tsx b/frontend/src/components/PrivateLayout/header/header.tsx index d96bdf06..6aa71476 100644 --- a/frontend/src/components/PrivateLayout/header/header.tsx +++ b/frontend/src/components/PrivateLayout/header/header.tsx @@ -1,15 +1,14 @@ import { Box } from "@mui/material"; -import { type FC, useRef, useState } from "react"; +import { type FC, useState } from "react"; import { DrawerMenu } from "./drawerMenu"; export const Header: FC = () => { const [menuOpen, setMenuOpen] = useState(false); - const barHeight = useRef(null); return ( <> - + { diff --git a/frontend/src/components/PrivateLayout/index.tsx b/frontend/src/components/PrivateLayout/index.tsx index 6115dcc8..0e4e3d9b 100644 --- a/frontend/src/components/PrivateLayout/index.tsx +++ b/frontend/src/components/PrivateLayout/index.tsx @@ -10,7 +10,7 @@ interface IPrivateLayoutProps { export const PrivateLayout: FC = ({ children }) => { return ( - +
diff --git a/frontend/src/components/PublicLayout/index.tsx b/frontend/src/components/PublicLayout/index.tsx index af5dc129..7cba1ca2 100644 --- a/frontend/src/components/PublicLayout/index.tsx +++ b/frontend/src/components/PublicLayout/index.tsx @@ -6,10 +6,11 @@ export const PublicLayout: FC<{ children: ReactNode }> = ({ children }) => {