Skip to content

Commit e7e7a7e

Browse files
committed
fix
1 parent 5ce2b3a commit e7e7a7e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/settings.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ const Settings = (props: Props) => {
2525
if (!document.body.classList.contains("latex-dark")) {
2626
document.body.classList.add("latex-dark");
2727
}
28+
} else {
29+
document.body.classList.remove("latex-dark");
2830
}
2931
}, [hasDarkMode]);
3032

0 commit comments

Comments
 (0)