Skip to content

Commit 9d71302

Browse files
committed
correct
1 parent e0dae9b commit 9d71302

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/solid-router/src/router.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,7 @@ export class Router<
791791
if (
792792
typeof window !== 'undefined' &&
793793
'CSS' in window &&
794-
typeof window.CSS.supports === 'function'
794+
typeof window.CSS?.supports === 'function'
795795
) {
796796
this.isViewTransitionTypesSupported = window.CSS.supports(
797797
'selector(:active-view-transition-type(a)',

0 commit comments

Comments
 (0)