diff --git a/client/src/components/layout/Layout.tsx b/client/src/components/layout/Layout.tsx index 9adb33e3e..0736c656c 100644 --- a/client/src/components/layout/Layout.tsx +++ b/client/src/components/layout/Layout.tsx @@ -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) { - - ); } diff --git a/client/src/context/SubheaderContext.tsx b/client/src/context/SubheaderContext.tsx index 7196464b6..3c77e755e 100644 --- a/client/src/context/SubheaderContext.tsx +++ b/client/src/context/SubheaderContext.tsx @@ -9,8 +9,6 @@ export const SubheaderContext = createContext({ setBreadcrumbs: NO_OP as SetState, }); -export const SubheaderConsumer = SubheaderContext.Consumer; - export function SubheaderContextProvider({ children }: JustChildren) { const [title, setTitle] = useState(""); const [breadcrumbs, setBreadcrumbs] = useState([]);