diff options
author | MCMXC <16797721+mcmxcdev@users.noreply.github.com> | 2023-12-04 08:52:48 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-04 08:52:48 -0700 |
commit | 3fc8706007d896dcbde69c0ce924a6a5eb66aba6 (patch) | |
tree | 008bbcfc14d819cd2f744eb16607b6aa9c4ad0bf /src/components/services/tabs | |
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/services/tabs')
-rw-r--r-- | src/components/services/tabs/TabItem.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/services/tabs/TabItem.tsx b/src/components/services/tabs/TabItem.tsx index 287dedfcb..804efe8a5 100644 --- a/src/components/services/tabs/TabItem.tsx +++ b/src/components/services/tabs/TabItem.tsx | |||
@@ -80,7 +80,7 @@ let pollIndicatorTransition = 'none'; | |||
80 | let polledTransition = 'none'; | 80 | let polledTransition = 'none'; |
81 | let pollAnsweredTransition = 'none'; | 81 | let pollAnsweredTransition = 'none'; |
82 | 82 | ||
83 | if (window && window.matchMedia('(prefers-reduced-motion: no-preference)')) { | 83 | if (window?.matchMedia('(prefers-reduced-motion: no-preference)')) { |
84 | pollIndicatorTransition = 'background 0.5s'; | 84 | pollIndicatorTransition = 'background 0.5s'; |
85 | polledTransition = 'background 0.1s'; | 85 | polledTransition = 'background 0.1s'; |
86 | pollAnsweredTransition = 'background 0.1s'; | 86 | pollAnsweredTransition = 'background 0.1s'; |