We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e94438b commit 0ce082eCopy full SHA for 0ce082e
.changeset/slow-drinks-cheer.md
@@ -0,0 +1,5 @@
1
+---
2
+"@remix-run/router": patch
3
4
+
5
+Fix issue with deeply nested optional segments
packages/router/utils.ts
@@ -329,7 +329,6 @@ export function matchRoutes<
329
330
let branches = flattenRoutes(routes);
331
rankRouteBranches(branches);
332
- console.log(branches.map((b) => ({ path: b.path, score: b.score })));
333
334
let matches = null;
335
for (let i = 0; matches == null && i < branches.length; ++i) {
0 commit comments