diff --git a/src/Application/Kernel.tsx b/src/Application/Kernel.tsx index f5ff55f..dfde24d 100644 --- a/src/Application/Kernel.tsx +++ b/src/Application/Kernel.tsx @@ -1,7 +1,7 @@ import { IconContext } from "@phosphor-icons/react"; import React from "react"; import {createBrowserRouter, RouterProvider} from "react-router-dom"; -import {Curtains} from "../Components/Curtains/Curtains"; +import {CurtainsProvider} from "../Components/Curtains/Curtains"; import {NotificationsProvider} from "../Components/Notifications/Notifications"; /** @@ -19,11 +19,11 @@ export function Kernel({header, footer, router}: { weight: "bold", }}> - + {header} {footer} - + ); diff --git a/src/Components/Curtains/Curtains.tsx b/src/Components/Curtains/Curtains.tsx index 6470190..cc2dfcd 100644 --- a/src/Components/Curtains/Curtains.tsx +++ b/src/Components/Curtains/Curtains.tsx @@ -105,9 +105,9 @@ export function useCallableCurtain(curtainElem /** - * Page curtains system. + * Page curtains provider. */ -export function Curtains({children}: React.PropsWithChildren<{}>) +export function CurtainsProvider({children}: React.PropsWithChildren<{}>) { // Curtains state. const [curtains, setCurtains] = useState>({});