We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05bca3c commit 4119a27Copy full SHA for 4119a27
report-viewer/report-viewer/src/stores/uiStore.ts
@@ -45,7 +45,7 @@ const USE_DARK_MODE_KEYWORD = 'jplag:use-dark-mode'
45
function getDefaultUseDarkModeOption() {
46
const local = localStorage.getItem(USE_DARK_MODE_KEYWORD)
47
if (local !== null) {
48
- return local == 'true'
+ return local === 'true'
49
}
50
51
return window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches
0 commit comments