Jelajahi Sumber

chore: fix some typos in comments (#3071)

hugehope 1 tahun lalu
induk
melakukan
713ee06ab7

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

@@ -18,7 +18,7 @@ class PinInput(ChakraComponent):
 
     tag = "PinInput"
 
-    # State var to bind the the input.
+    # State var to bind the input.
     value: Var[str]
 
     # If true, the pin input receives focus on mount

+ 1 - 1
reflex/components/chakra/forms/pininput.pyi

@@ -110,7 +110,7 @@ class PinInput(ChakraComponent):
 
         Args:
             *children: The children of the component.
-            value: State var to bind the the input.
+            value: State var to bind the input.
             auto_focus: If true, the pin input receives focus on mount
             default_value: The default value of the pin input
             error_border_color: The border color when the input is invalid.

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

@@ -17,7 +17,7 @@ class RadioGroup(ChakraComponent):
 
     tag = "RadioGroup"
 
-    # State var to bind the the input.
+    # State var to bind the input.
     value: Var[Any]
 
     # The default value.

+ 1 - 1
reflex/components/chakra/forms/radio.pyi

@@ -86,7 +86,7 @@ class RadioGroup(ChakraComponent):
 
         Args:
             *children: The children of the component.
-            value: State var to bind the the input.
+            value: State var to bind the input.
             default_value: The default value.
             name: The name of the form field
             style: The style of the component.

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

@@ -15,7 +15,7 @@ class RangeSlider(ChakraComponent):
 
     tag = "RangeSlider"
 
-    # State var to bind the the input.
+    # State var to bind the input.
     value: Var[List[int]]
 
     # The default values.

+ 1 - 1
reflex/components/chakra/forms/rangeslider.pyi

@@ -103,7 +103,7 @@ class RangeSlider(ChakraComponent):
 
         Args:
             *children: The children of the component.
-            value: State var to bind the the input.
+            value: State var to bind the input.
             default_value: The default values.
             direction: The writing mode ("ltr" | "rtl")
             focus_thumb_on_change: If false, the slider handle will not capture focus when value changes.

+ 1 - 1
reflex/components/component.py

@@ -371,7 +371,7 @@ class Component(BaseComponent, ABC):
         """Create an event chain from a variety of input types.
 
         Args:
-            args_spec: The args_spec of the the event trigger being bound.
+            args_spec: The args_spec of the event trigger being bound.
             value: The value to create the event chain from.
 
         Returns: