Skip to content

Commit 0ce082e

Browse files
committed
Add changeset and remove console.log
1 parent e94438b commit 0ce082e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.changeset/slow-drinks-cheer.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@remix-run/router": patch
3+
---
4+
5+
Fix issue with deeply nested optional segments

packages/router/utils.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,6 @@ export function matchRoutes<
329329

330330
let branches = flattenRoutes(routes);
331331
rankRouteBranches(branches);
332-
console.log(branches.map((b) => ({ path: b.path, score: b.score })));
333332

334333
let matches = null;
335334
for (let i = 0; matches == null && i < branches.length; ++i) {

0 commit comments

Comments
 (0)