Skip to content

Commit e64b997

Browse files
committed
fix var name
1 parent b7812b3 commit e64b997

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/router/router.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1838,7 +1838,7 @@ export function createRouter(init: RouterInit): Router {
18381838
// Passthrough to history-aware createHref used by useHref so we get proper
18391839
// hash-aware URLs in DOM paths
18401840
createHref: (to: To) => init.history.createHref(to),
1841-
encodeLocation: (location: To) => init.history.encodeLocation(location),
1841+
encodeLocation: (to: To) => init.history.encodeLocation(to),
18421842
getFetcher,
18431843
deleteFetcher,
18441844
dispose,

0 commit comments

Comments
 (0)