Remove log statements.

This commit is contained in:
Dillon Kearns 2021-04-28 12:57:50 -07:00
parent eeea9aff05
commit a0af3dba38

View File

@ -592,7 +592,6 @@ function sortTemplates(templates) {
return templates.sort((first, second) => {
const a = sortScore(first);
const b = sortScore(second);
console.log({ a, b });
if (b.splatScore === a.splatScore) {
if (b.staticSegments === a.staticSegments) {
return b.dynamicSegments - a.dynamicSegments;
@ -612,7 +611,6 @@ function sortScore(name) {
const parsedParams = routeHelpers.parseRouteParamsWithStatic(name);
return parsedParams.reduce(
(currentScore, segment) => {
console.log({ kind: segment.kind });
switch (segment.kind) {
case "dynamic": {
return {