Skip to content

Commit fda6c43

Browse files
sevilgurkantannerlinsley
authored andcommitted
fix(react-router): correctly assign createLazyFileRoute on window (#4948)
1 parent bd560b8 commit fda6c43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-router/src/router.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,5 +112,5 @@ if (typeof globalThis !== 'undefined') {
112112
;(globalThis as any).createLazyFileRoute = createLazyFileRoute
113113
} else if (typeof window !== 'undefined') {
114114
;(window as any).createFileRoute = createFileRoute
115-
;(window as any).createFileRoute = createLazyFileRoute
115+
;(window as any).createLazyFileRoute = createLazyFileRoute
116116
}

0 commit comments

Comments
 (0)