From bca1d0d537ed52caa682f5a5c45305bd65fb9962 Mon Sep 17 00:00:00 2001 From: baudbot-agent Date: Sat, 14 Mar 2026 15:35:35 +0000 Subject: [PATCH] fix: default to 'average' variation when navigating to package managers When clicking away from the package managers view and then clicking back, the route index redirect was going to 'clean' instead of 'average'. This was inconsistent with the initial load behavior which uses sortVariations() to determine the first variation (which is 'average'). Changed the package-managers index route from Navigate to='clean' to Navigate to='average' to match the intended default behavior. --- app/src/routes.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/routes.tsx b/app/src/routes.tsx index 1575afd8a..1666f8af8 100644 --- a/app/src/routes.tsx +++ b/app/src/routes.tsx @@ -7,7 +7,7 @@ import type { RouteObject } from "react-router"; const packageManagerRoutes: RouteObject = { path: "package-managers", children: [ - { index: true, element: }, + { index: true, element: }, { path: ":variation", element: }, { path: ":variation/:section", element: }, { path: ":variation/:section/:fixture", element: },