diff options
author | 2023-12-04 08:52:48 -0700 | |
---|---|---|
committer | 2023-12-04 08:52:48 -0700 | |
commit | 3fc8706007d896dcbde69c0ce924a6a5eb66aba6 (patch) | |
tree | 008bbcfc14d819cd2f744eb16607b6aa9c4ad0bf /src/components/auth/SetupAssistant.tsx | |
parent | chore: project maintenance (#1466) (diff) | |
download | ferdium-app-3fc8706007d896dcbde69c0ce924a6a5eb66aba6.tar.gz ferdium-app-3fc8706007d896dcbde69c0ce924a6a5eb66aba6.tar.zst ferdium-app-3fc8706007d896dcbde69c0ce924a6a5eb66aba6.zip |
refactor: implement biome (#1467)
- add `biome.json`
- add `biome:check` and `biome:check:fix` commands to `package.json`
- add `biome:check:fix` command to run as part of `prepare-code` command
- install `@biomejs/biome` dependency
- add `@npmcli/move-file` v2.0.1 to `pnpm.allowedDeprecatedVersions`
- fix or comment out various reported lint issues
Diffstat (limited to 'src/components/auth/SetupAssistant.tsx')
-rw-r--r-- | src/components/auth/SetupAssistant.tsx | 7 |
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 | ||
42 | const transition = | 42 | const 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 | ||
47 | const styles = theme => ({ | 46 | const styles = theme => ({ |
48 | root: { | 47 | root: { |