From 3902bb745be7b5bb97fd6a5e88f03cec17d32be9 Mon Sep 17 00:00:00 2001 From: zkldi <20380519+zkldi@users.noreply.github.com> Date: Sun, 26 Jun 2022 18:04:41 +0100 Subject: [PATCH] fix: tear more metronic --- client/src/components/layout/Layout.tsx | 3 --- client/src/context/SubheaderContext.tsx | 2 -- 2 files changed, 5 deletions(-) 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([]);