Skip to content

Commit 4ff3f21

Browse files
committed
Fix typo in dark mode init
1 parent 0fa49f4 commit 4ff3f21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/useIsDark/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ export function startClientSideIsDarkLogic(params: {
132132
return undefined;
133133
}
134134

135-
switch (colorSchemeExplicitlyProvidedAsParameter as ColorScheme) {
135+
switch (colorSchemeReadFromLocalStorage as ColorScheme) {
136136
case "dark":
137137
return true;
138138
case "light":

0 commit comments

Comments
 (0)