mirror of
https://dev.azure.com/tstanciu94/NetworkResurrector/_git/NetworkResurrector
synced 2025-06-21 19:17:04 +03:00
Refactor AppLayout component
This commit is contained in:
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…
x
Reference in New Issue
Block a user