From 0d4e6f99cd2afdfcacc01f7a1a3967ad094915c1 Mon Sep 17 00:00:00 2001 From: Harshith Mohan <26010946+harshithmohan@users.noreply.github.com> Date: Sun, 15 Dec 2024 16:55:58 +0530 Subject: [PATCH] Prepare for react-router v7 --- src/core/router/index.tsx | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/core/router/index.tsx b/src/core/router/index.tsx index 22bde907..0e74430e 100644 --- a/src/core/router/index.tsx +++ b/src/core/router/index.tsx @@ -129,6 +129,11 @@ const router = sentryCreateBrowserRouter( , ), + { + future: { + v7_relativeSplatPath: true, + }, + }, ); const Router = () => { @@ -158,7 +163,12 @@ const Router = () => { return (