better performance
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
export const metadata = {
|
||||||
|
title: "پیشخوان",
|
||||||
|
};
|
||||||
|
|
||||||
const Page = () => {
|
const Page = () => {
|
||||||
return <></>;
|
return <></>;
|
||||||
};
|
};
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
import HeaderWithLogo from "@/components/layouts/dashboard/headerWithLogo";
|
|
||||||
import HeaderWithSidebar from "@/components/layouts/dashboard/headerWithSidebar";
|
|
||||||
import { Stack } from "@mui/material";
|
|
||||||
|
|
||||||
const Layout = ({ children }) => {
|
|
||||||
return (
|
|
||||||
<Stack sx={{ width: "100%", height: "100%" }}>
|
|
||||||
<HeaderWithLogo />
|
|
||||||
<HeaderWithSidebar>{children}</HeaderWithSidebar>
|
|
||||||
</Stack>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
export default Layout;
|
|
||||||
Reference in New Issue
Block a user