Browse Source

add default value for new lang prop in Html

Benedikt Bartscher 1 year ago
parent
commit
30df32bd16
1 changed files with 1 additions and 1 deletions
  1. 1 1
      reflex/components/base/document.py

+ 1 - 1
reflex/components/base/document.py

@@ -16,7 +16,7 @@ class Html(NextDocumentLib):
 
     tag: str = "Html"
 
-    lang: Optional[str]
+    lang: Optional[str] = None
 
 
 class DocumentHead(NextDocumentLib):