Skip to content

Commit 72c475b

Browse files
committed
add one more comment
1 parent f60787a commit 72c475b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/theme/app/ThemeManager.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ export const ThemeManagerProvider = (props) => {
5858
const root = window.document.documentElement;
5959
const initialColorValue = (root.style.getPropertyValue("--initial-color-mode") || "").trim();
6060
const actualTheme = window.__theme || initialColorValue || ThemeSetting.LIGHT;
61-
61+
62+
// Get stored theme from localStorage
6263
const storedTheme = localStorage.getItem(DarkThemeKey);
6364

6465
if (storedTheme && storedTheme !== ThemeSetting.SYSTEM) {

0 commit comments

Comments
 (0)