Refactor AppLayout component
parent
add5ae2734
commit
86d243bffd
|
@ -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 = () => {
|
||||
|
|
Loading…
Reference in New Issue