From e339ad548543eddf46ce95bf116bfe582e0a4e99 Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Mon, 23 Nov 2020 11:29:43 +0100 Subject: [PATCH] refactor: remove unintented changes --- src/matcher/index.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/matcher/index.ts b/src/matcher/index.ts index 95011b56..6f1eda95 100644 --- a/src/matcher/index.ts +++ b/src/matcher/index.ts @@ -162,10 +162,10 @@ export function createRouterMatcher( // other alias (if any) need to reference this record when adding children originalRecord = originalRecord || matcher - if (parent && isAliasRecord(originalRecord)) { - // TODO: remove them too - parent.children.push(originalRecord) - } + // TODO: add normalized records for more flexibility + // if (parent && isAliasRecord(originalRecord)) { + // parent.children.push(originalRecord) + // } insertMatcher(matcher) } -- 2.47.3