feat: integrate React Query for improved data fetching and state management across banking and transactions components
This commit is contained in:
@@ -3,6 +3,7 @@ import type { Metadata } from "next";
|
||||
import { Geist, Geist_Mono } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import { AuthSessionProvider } from "@/components/providers/session-provider";
|
||||
import { QueryProvider } from "@/components/providers/query-provider";
|
||||
|
||||
const _geist = Geist({ subsets: ["latin"] });
|
||||
const _geistMono = Geist_Mono({ subsets: ["latin"] });
|
||||
@@ -22,7 +23,9 @@ export default function RootLayout({
|
||||
return (
|
||||
<html lang="fr">
|
||||
<body className="font-sans antialiased">
|
||||
<AuthSessionProvider>{children}</AuthSessionProvider>
|
||||
<QueryProvider>
|
||||
<AuthSessionProvider>{children}</AuthSessionProvider>
|
||||
</QueryProvider>
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user