We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7812b3 commit e64b997Copy full SHA for e64b997
packages/router/router.ts
@@ -1838,7 +1838,7 @@ export function createRouter(init: RouterInit): Router {
1838
// Passthrough to history-aware createHref used by useHref so we get proper
1839
// hash-aware URLs in DOM paths
1840
createHref: (to: To) => init.history.createHref(to),
1841
- encodeLocation: (location: To) => init.history.encodeLocation(location),
+ encodeLocation: (to: To) => init.history.encodeLocation(to),
1842
getFetcher,
1843
deleteFetcher,
1844
dispose,
0 commit comments