diff options
Diffstat (limited to 'src/components/auth/SetupAssistant.js')
-rw-r--r-- | src/components/auth/SetupAssistant.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/auth/SetupAssistant.js b/src/components/auth/SetupAssistant.js index 06ab09892..0f821d4fc 100644 --- a/src/components/auth/SetupAssistant.js +++ b/src/components/auth/SetupAssistant.js | |||
@@ -37,7 +37,7 @@ const messages = defineMessages({ | |||
37 | 37 | ||
38 | let transition = 'none'; | 38 | let transition = 'none'; |
39 | 39 | ||
40 | if (window.matchMedia('(prefers-reduced-motion: no-preference)')) { | 40 | if (window && window.matchMedia('(prefers-reduced-motion: no-preference)')) { |
41 | transition = 'all 0.25s'; | 41 | transition = 'all 0.25s'; |
42 | } | 42 | } |
43 | 43 | ||