Skip to content

Commit e339ad5

Browse files
committed
refactor: remove unintented changes
1 parent 9f59489 commit e339ad5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/matcher/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,10 +162,10 @@ export function createRouterMatcher(
162162
// other alias (if any) need to reference this record when adding children
163163
originalRecord = originalRecord || matcher
164164

165-
if (parent && isAliasRecord(originalRecord)) {
166-
// TODO: remove them too
167-
parent.children.push(originalRecord)
168-
}
165+
// TODO: add normalized records for more flexibility
166+
// if (parent && isAliasRecord(originalRecord)) {
167+
// parent.children.push(originalRecord)
168+
// }
169169

170170
insertMatcher(matcher)
171171
}

0 commit comments

Comments
 (0)