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 43e1672 commit 29fdfb4Copy full SHA for 29fdfb4
packages/router/src/client-router.ts
@@ -31,7 +31,7 @@ export function createClientRouter(options: ClientRouterOptions): Router {
31
if (
32
options?.viewTransition &&
33
typeof document !== 'undefined' &&
34
- document.startViewTransition
+ !!document.startViewTransition
35
) {
36
transitionMode = 'view-transition'
37
}
0 commit comments