fix: resolve ThemeToggle merge conflict markers
JustAPI Bot committed 3 months ago
f589e00
1 parent 5913257
commit f589e00
1 file changed
+0 -4
Showing 1 changed file+0-4
▼src/components/ThemeToggle.tsx
+0-4
| @@ -19,11 +19,7 @@ function getStoredTheme(): Theme { | ||
19 | 19 | function applyTheme(theme: Theme) { |
20 | 20 | const html = document.documentElement; |
21 | 21 | const isSystemDark = window.matchMedia("(prefers-color-scheme: dark)").matches; |
22 | -<<<<<<< HEAD | |
23 | 22 | const activeTheme: string = theme === "system" ? (isSystemDark ? "dark" : "light") : theme; |
24 | -======= | |
25 | - const activeTheme = theme === "system" ? (isSystemDark ? "dark" : "light") : theme; | |
26 | ->>>>>>> origin/main | |
27 | 23 | |
28 | 24 | if (activeTheme === "light") { |
29 | 25 | html.classList.remove("dark"); |
30 | 26 | |