15 lines
397 B
TypeScript
15 lines
397 B
TypeScript
|
|
import { Layout, LayoutContent, LayoutHeader } from "@/components";
|
||
|
|
import { PropsWithChildren } from "react";
|
||
|
|
import { QuotesProvider } from "./QuotesContext";
|
||
|
|
|
||
|
|
export const QuotesLayout = ({ children }: PropsWithChildren) => {
|
||
|
|
return (
|
||
|
|
<QuotesProvider>
|
||
|
|
<Layout>
|
||
|
|
<LayoutHeader />
|
||
|
|
<LayoutContent>{children}</LayoutContent>
|
||
|
|
</Layout>
|
||
|
|
</QuotesProvider>
|
||
|
|
);
|
||
|
|
};
|