From c0ac2295d05b390aba23a82484ea31d3b1c507e7 Mon Sep 17 00:00:00 2001 From: Vikas Nale Date: Mon, 12 May 2025 10:35:23 +0530 Subject: [PATCH] Remove warnings ref: https://reactrouter.com/6.30.0/upgrading/future#v7_starttransition --- src/router/AppRoutes.jsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/router/AppRoutes.jsx b/src/router/AppRoutes.jsx index ad38bc2d..6fbeefa0 100644 --- a/src/router/AppRoutes.jsx +++ b/src/router/AppRoutes.jsx @@ -51,7 +51,7 @@ const router = createBrowserRouter( }, { element: , - errorElement:, + errorElement: , children: [ { element: , @@ -90,6 +90,10 @@ const router = createBrowserRouter( future: { v7_relativeSplatPath: true, v7_startTransition: true, + v7_fetcherPersist: true, + v7_normalizeFormMethod: true, + v7_partialHydration: true, + v7_skipActionErrorRevalidation: true, }, } );