diff options
Diffstat (limited to 'src/features/workspaces/components/WorkspaceSwitchingIndicator.js')
-rw-r--r-- | src/features/workspaces/components/WorkspaceSwitchingIndicator.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/features/workspaces/components/WorkspaceSwitchingIndicator.js b/src/features/workspaces/components/WorkspaceSwitchingIndicator.js index 613075c4a..c8ec0bc4c 100644 --- a/src/features/workspaces/components/WorkspaceSwitchingIndicator.js +++ b/src/features/workspaces/components/WorkspaceSwitchingIndicator.js | |||
@@ -17,7 +17,7 @@ const messages = defineMessages({ | |||
17 | 17 | ||
18 | let wrapperTransition = 'none'; | 18 | let wrapperTransition = 'none'; |
19 | 19 | ||
20 | if (window.matchMedia('(prefers-reduced-motion: no-preference)')) { | 20 | if (window && window.matchMedia('(prefers-reduced-motion: no-preference)')) { |
21 | wrapperTransition = 'width 0.5s ease'; | 21 | wrapperTransition = 'width 0.5s ease'; |
22 | } | 22 | } |
23 | 23 | ||