Skip to content

Commit 2c24acb

Browse files
authored
fix(solid-router): correctly assign createLazyFileRoute on window (#4956)
1 parent 35485bb commit 2c24acb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/solid-router/src/router.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,5 +108,5 @@ if (typeof globalThis !== 'undefined') {
108108
;(globalThis as any).createLazyFileRoute = createLazyFileRoute
109109
} else if (typeof window !== 'undefined') {
110110
;(window as any).createFileRoute = createFileRoute
111-
;(window as any).createFileRoute = createLazyFileRoute
111+
;(window as any).createLazyFileRoute = createLazyFileRoute
112112
}

0 commit comments

Comments
 (0)