1
0
Эх сурвалжийг харах

add missing type annotation for initialColorMode

Benedikt Bartscher 1 жил өмнө
parent
commit
80a25d6b29

+ 1 - 1
reflex/components/chakra/forms/colormodeswitch.py

@@ -100,4 +100,4 @@ class ColorModeScript(ChakraComponent):
     """Chakra color mode script."""
 
     tag = "ColorModeScript"
-    initialColorMode = LIGHT_COLOR_MODE
+    initialColorMode: str = LIGHT_COLOR_MODE