From 03bc2769a8f4e81b125791856f511302513dde29 Mon Sep 17 00:00:00 2001 From: Arda Erzin Date: Tue, 10 Dec 2024 22:39:21 +0100 Subject: [PATCH] feat(frontend): update _app to include new swr config provider --- agenta-web/src/pages/_app.tsx | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/agenta-web/src/pages/_app.tsx b/agenta-web/src/pages/_app.tsx index c84846caf9..c3dcd378f0 100644 --- a/agenta-web/src/pages/_app.tsx +++ b/agenta-web/src/pages/_app.tsx @@ -17,6 +17,7 @@ import ProjectContextProvider from "@/contexts/project.context" import "ag-grid-community/styles/ag-grid.css" import "ag-grid-community/styles/ag-theme-alpine.css" import {Inter} from "next/font/google" +import AgSWRConfig from "@/lib/api/SWRConfig" const NoMobilePageWrapper = dynamicComponent("NoMobilePageWrapper/NoMobilePageWrapper") @@ -57,20 +58,22 @@ export default function App({Component, pageProps}: AppProps) {
- - - - - - - - - - - - - - + + + + + + + + + + + + + + + +
)