diff options
author | 2023-05-28 13:48:21 +0530 | |
---|---|---|
committer | 2023-05-28 13:48:21 +0530 | |
commit | 99ca310c73024b51fed1f3077375eed7827f2c20 (patch) | |
tree | 2bd15986f448129a2291acba90ccc6bf68a233e0 /src/components/ui/infobox/index.tsx | |
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/infobox/index.tsx')
-rw-r--r-- | src/components/ui/infobox/index.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/ui/infobox/index.tsx b/src/components/ui/infobox/index.tsx index 3b878a9de..28ec2ff90 100644 --- a/src/components/ui/infobox/index.tsx +++ b/src/components/ui/infobox/index.tsx | |||
@@ -28,7 +28,7 @@ const buttonStyles = (theme: Theme) => { | |||
28 | const infoBoxTransition: string = 'none'; | 28 | const infoBoxTransition: string = 'none'; |
29 | const ctaTransition: string = 'none'; | 29 | const ctaTransition: string = 'none'; |
30 | 30 | ||
31 | // TODO: Not sure why, but this location alone, the `dinwo` is not defined - and it throws an error thus aborting the startup sequence of ferdium | 31 | // TODO: Not sure why, but this location alone, the `window` is not defined - and it throws an error thus aborting the startup sequence of ferdium |
32 | // if (window && window.matchMedia('(prefers-reduced-motion: no-preference)')) { | 32 | // if (window && window.matchMedia('(prefers-reduced-motion: no-preference)')) { |
33 | // infoBoxTransition = 'all 0.5s'; | 33 | // infoBoxTransition = 'all 0.5s'; |
34 | // ctaTransition = 'opacity 0.3s'; | 34 | // ctaTransition = 'opacity 0.3s'; |