aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/auth/SetupAssistant.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/auth/SetupAssistant.tsx')
-rw-r--r--src/components/auth/SetupAssistant.tsx7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/components/auth/SetupAssistant.tsx b/src/components/auth/SetupAssistant.tsx
index fdcbba45e..c25495471 100644
--- a/src/components/auth/SetupAssistant.tsx
+++ b/src/components/auth/SetupAssistant.tsx
@@ -39,10 +39,9 @@ const messages = defineMessages({
39 }, 39 },
40}); 40});
41 41
42const transition = 42const transition = window?.matchMedia('(prefers-reduced-motion: no-preference)')
43 window && window.matchMedia('(prefers-reduced-motion: no-preference)') 43 ? 'all 0.25s'
44 ? 'all 0.25s' 44 : 'none';
45 : 'none';
46 45
47const styles = theme => ({ 46const styles = theme => ({
48 root: { 47 root: {