mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-29 14:56:36 +03:00
Remove log statements.
This commit is contained in:
parent
eeea9aff05
commit
a0af3dba38
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user