浏览代码

add missing comment form (#1081)

Thomas Brandého 2 年之前
父节点
当前提交
e9ca1fd03b
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. 1 0
      pynecone/components/forms/form.py
  2. 1 1
      pynecone/components/navigation/link.py

+ 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.