From e9ca1fd03b7d1c3caade682bd9f1f2dca10f268a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Brand=C3=A9ho?= Date: Thu, 25 May 2023 18:52:57 +0200 Subject: [PATCH] add missing comment form (#1081) --- pynecone/components/forms/form.py | 1 + pynecone/components/navigation/link.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pynecone/components/forms/form.py b/pynecone/components/forms/form.py index 5978943b7..9f1df706a 100644 --- a/pynecone/components/forms/form.py +++ b/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]: diff --git a/pynecone/components/navigation/link.py b/pynecone/components/navigation/link.py index 4eebea532..41aa72ee7 100644 --- a/pynecone/components/navigation/link.py +++ b/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.