Skip to content

Commit 8960076

Browse files
committed
Correct json-gen route
1 parent 71c8473 commit 8960076

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

typescript/packages/jumble/src/routes.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const ROUTES = {
1010
spellbookIndex: '/spellbook',
1111
spellbookDetail: '/spellbook/:spellId',
1212
spellbookLaunch: '/spellbook/launch/:spellId',
13-
utilityJsonGen: '/utility/jsongen',
13+
utilityJsonGen: '/utility/json-gen',
1414
} as const;
1515

1616
// Infer parameter types from route patterns
@@ -41,9 +41,6 @@ export const matchesRoute = <T extends keyof typeof ROUTES>(
4141
return matchPath(ROUTES[route], path) !== null;
4242
};
4343

44-
console.log(createPath('spellbookDetail', { spellId: '123' }))
45-
46-
4744
export function createPathWithQuery<T extends keyof typeof ROUTES>(
4845
route: T,
4946
params?: RouteParamsMap[T],

0 commit comments

Comments
 (0)