move function handle change city to context
This commit is contained in:
+4
-1
@@ -8,6 +8,7 @@ import { GoogleTagManager } from "@next/third-parties/google";
|
||||
// Toastify
|
||||
import "react-toastify/dist/ReactToastify.css";
|
||||
import CustomToastify from "./CustomToastify";
|
||||
import { ProvinceProvider } from "@/context/ProvinceProvider";
|
||||
|
||||
export const metadata = {
|
||||
title: "نوبت724",
|
||||
@@ -28,7 +29,9 @@ export default function RootLayout({ children }) {
|
||||
<ThemeRegistry>
|
||||
<GoogleTagManager gtmId="GTM-NXBSV7GS" />
|
||||
<body className="bg-[#FAFAFA]">
|
||||
<Providers>{children}</Providers>
|
||||
<ProvinceProvider>
|
||||
<Providers>{children}</Providers>
|
||||
</ProvinceProvider>
|
||||
<CustomToastify />
|
||||
</body>
|
||||
<GoogleAnalytics gaId="G-HG3RZ1PJS5" />
|
||||
|
||||
Reference in New Issue
Block a user