project
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
"use client";
|
||||
|
||||
import "@/lib/i18n";
|
||||
import { LanguageProvider } from "@/contexts/LanguageProvider";
|
||||
import type { AppLanguage } from "@/lib/i18n/registry";
|
||||
import { ThemeProvider } from "@/contexts/ThemeContext";
|
||||
import { ReactQueryProvider } from "@/providers/ReactQueryProvider";
|
||||
import { Toaster } from "react-hot-toast";
|
||||
@@ -16,11 +16,12 @@ import NotificationBridge from "@/components/notifications/NotificationBridge";
|
||||
|
||||
interface ILayoutProps {
|
||||
children: React.ReactNode;
|
||||
initialLanguage: AppLanguage;
|
||||
}
|
||||
function Layout({ children }: ILayoutProps) {
|
||||
function Layout({ children, initialLanguage }: ILayoutProps) {
|
||||
return (
|
||||
<ThemeProvider>
|
||||
<LanguageProvider>
|
||||
<LanguageProvider initialLanguage={initialLanguage}>
|
||||
<ReactQueryProvider>
|
||||
<PwaHead />
|
||||
<PwaBootSplash />
|
||||
|
||||
Reference in New Issue
Block a user