fix: tear more metronic

This commit is contained in:
zkldi
2022-06-26 18:04:41 +01:00
parent 018257bc9f
commit 3902bb745b
2 changed files with 0 additions and 5 deletions
-3
View File
@@ -2,7 +2,6 @@ import BackgroundImage from "components/layout/misc/BackgroundImage";
import { BackgroundContextProvider } from "context/BackgroundContext";
import React from "react";
import { JustChildren } from "types/react";
import { LayoutInit } from "../../_metronic/layout/components/LayoutInit";
import { Footer } from "./footer/Footer";
import { Header } from "./header/Header";
import { HeaderMobile } from "./header/HeaderMobile";
@@ -39,8 +38,6 @@ export function Layout({ children }: JustChildren) {
</div>
</div>
</div>
<LayoutInit />
</>
);
}
-2
View File
@@ -9,8 +9,6 @@ export const SubheaderContext = createContext({
setBreadcrumbs: NO_OP as SetState<string[]>,
});
export const SubheaderConsumer = SubheaderContext.Consumer;
export function SubheaderContextProvider({ children }: JustChildren) {
const [title, setTitle] = useState("");
const [breadcrumbs, setBreadcrumbs] = useState<string[]>([]);