Quellcode durchsuchen

Fix pyright errors (#2210)

Nikhil Rao vor 1 Jahr
Ursprung
Commit
b5f6ab3a82
1 geänderte Dateien mit 3 neuen und 1 gelöschten Zeilen
  1. 3 1
      reflex/components/datadisplay/dataeditor.py

+ 3 - 1
reflex/components/datadisplay/dataeditor.py

@@ -347,7 +347,9 @@ class DataEditor(NoSSRComponent):
 
         return {
             (-1, "DataEditorPortal"): Portal.create(
-                id="portal", style={"position": "fixed", "top": 0}
+                id="portal",
+                position="fixed",
+                top=0,
             )
         }