feat(core): update
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
import '../globals.css'
|
||||
import localFont from 'next/font/local'
|
||||
import Header from '@/components/Header'
|
||||
import Footer from '@/components/Footer'
|
||||
import {Providers} from "../providers";
|
||||
|
||||
|
||||
@@ -55,9 +53,7 @@ export default async function RootLayout({ params, children }) {
|
||||
<html lang={lang} dir={lang === "fa" ? "rtl" : "ltr"} className={dana.className + " scroll-smooth"}>
|
||||
<body className="flex flex-col relative h-full w-full max-w-screen">
|
||||
<Providers >
|
||||
<Header lang={lang} />
|
||||
{children}
|
||||
<Footer lang={lang} />
|
||||
</Providers >
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user