Skip to content

Commit 4119a27

Browse files
Kr0noxCopilot
andauthored
use strict equality
Co-authored-by: Copilot <[email protected]>
1 parent 05bca3c commit 4119a27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

report-viewer/report-viewer/src/stores/uiStore.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const USE_DARK_MODE_KEYWORD = 'jplag:use-dark-mode'
4545
function getDefaultUseDarkModeOption() {
4646
const local = localStorage.getItem(USE_DARK_MODE_KEYWORD)
4747
if (local !== null) {
48-
return local == 'true'
48+
return local === 'true'
4949
}
5050

5151
return window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches

0 commit comments

Comments
 (0)