diff options
author | Vijay A <vraravam@users.noreply.github.com> | 2023-05-28 13:48:21 +0530 |
---|---|---|
committer | Vijay A <vraravam@users.noreply.github.com> | 2023-05-28 13:48:21 +0530 |
commit | 99ca310c73024b51fed1f3077375eed7827f2c20 (patch) | |
tree | 2bd15986f448129a2291acba90ccc6bf68a233e0 /src/components/ui/AppLoader/styles.ts | |
parent | Disable in-app auto-updates for portable windows installation (fixes #1088) (... (diff) | |
download | ferdium-app-99ca310c73024b51fed1f3077375eed7827f2c20.tar.gz ferdium-app-99ca310c73024b51fed1f3077375eed7827f2c20.tar.zst ferdium-app-99ca310c73024b51fed1f3077375eed7827f2c20.zip |
Fix issues reported by sonarqube linter
Diffstat (limited to 'src/components/ui/AppLoader/styles.ts')
-rw-r--r-- | src/components/ui/AppLoader/styles.ts | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/components/ui/AppLoader/styles.ts b/src/components/ui/AppLoader/styles.ts index 6bf3b4f3c..5ad41913a 100644 --- a/src/components/ui/AppLoader/styles.ts +++ b/src/components/ui/AppLoader/styles.ts | |||
@@ -1,7 +1,8 @@ | |||
1 | const sloganTransition = | 1 | const sloganTransition = window?.matchMedia( |
2 | window && window.matchMedia('(prefers-reduced-motion: no-preference)') | 2 | '(prefers-reduced-motion: no-preference)', |
3 | ? 'opacity 1s ease' | 3 | ) |
4 | : 'none'; | 4 | ? 'opacity 1s ease' |
5 | : 'none'; | ||
5 | 6 | ||
6 | export default { | 7 | export default { |
7 | component: { | 8 | component: { |