feat: refine session workflow with global state, quick tasting, and statistics
This commit is contained in:
@@ -5,6 +5,9 @@ import PWARegistration from "@/components/PWARegistration";
|
||||
import OfflineIndicator from "@/components/OfflineIndicator";
|
||||
import UploadQueue from "@/components/UploadQueue";
|
||||
import { I18nProvider } from "@/i18n/I18nContext";
|
||||
import { SessionProvider } from "@/context/SessionContext";
|
||||
import ActiveSessionBanner from "@/components/ActiveSessionBanner";
|
||||
import MainContentWrapper from "@/components/MainContentWrapper";
|
||||
|
||||
const inter = Inter({ subsets: ["latin"] });
|
||||
|
||||
@@ -42,10 +45,15 @@ export default function RootLayout({
|
||||
<html lang="de">
|
||||
<body className={inter.className}>
|
||||
<I18nProvider>
|
||||
<PWARegistration />
|
||||
<OfflineIndicator />
|
||||
<UploadQueue />
|
||||
{children}
|
||||
<SessionProvider>
|
||||
<ActiveSessionBanner />
|
||||
<MainContentWrapper>
|
||||
<PWARegistration />
|
||||
<OfflineIndicator />
|
||||
<UploadQueue />
|
||||
{children}
|
||||
</MainContentWrapper>
|
||||
</SessionProvider>
|
||||
</I18nProvider>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user