From 07b80f00332c087864e90cb4dbdd109891b834e1 Mon Sep 17 00:00:00 2001 From: Onur Temizkan Date: Tue, 4 Feb 2025 00:32:53 +0000 Subject: [PATCH] Lint --- packages/react/src/reactrouterv6-compat-utils.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/react/src/reactrouterv6-compat-utils.tsx b/packages/react/src/reactrouterv6-compat-utils.tsx index 99fa4f8c5898..30469dec50cc 100644 --- a/packages/react/src/reactrouterv6-compat-utils.tsx +++ b/packages/react/src/reactrouterv6-compat-utils.tsx @@ -512,7 +512,6 @@ function rebuildRoutePathFromAllRoutes(allRoutes: RouteObject[], location: Locat return trimSlash(strippedPath); } - return trimSlash( trimSlash(path || '') + prefixWithSlash(