aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/ui/AppLoader/styles.ts
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2023-05-28 13:48:21 +0530
committerLibravatar Vijay A <vraravam@users.noreply.github.com>2023-05-28 13:48:21 +0530
commit99ca310c73024b51fed1f3077375eed7827f2c20 (patch)
tree2bd15986f448129a2291acba90ccc6bf68a233e0 /src/components/ui/AppLoader/styles.ts
parentDisable in-app auto-updates for portable windows installation (fixes #1088) (... (diff)
downloadferdium-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.ts9
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 @@
1const sloganTransition = 1const 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
6export default { 7export default {
7 component: { 8 component: {