Ver Fonte

add missing comment form (#1081)

Thomas Brandého há 2 anos atrás
pai
commit
e9ca1fd03b

+ 1 - 0
pynecone/components/forms/form.py

@@ -12,6 +12,7 @@ class Form(ChakraComponent):
 
     tag = "Box"
 
+    # What the form renders to.
     as_: Var[str] = "form"  # type: ignore
 
     def get_controlled_triggers(self) -> Dict[str, Dict]:

+ 1 - 1
pynecone/components/navigation/link.py

@@ -20,7 +20,7 @@ class Link(ChakraComponent):
     # The text to display.
     text: Var[str]
 
-    # What the link renders too.
+    # What the link renders to.
     as_: Var[str] = "span"  # type: ignore
 
     # If true, the link will open in new tab.