mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-03 04:18:16 +03:00
fix: tear more metronic
This commit is contained in:
@@ -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 />
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -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[]>([]);
|
||||
|
||||
Reference in New Issue
Block a user