浏览代码

Fix pyright errors (#2210)

Nikhil Rao 1 年之前
父节点
当前提交
b5f6ab3a82
共有 1 个文件被更改,包括 3 次插入1 次删除
  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,
             )
         }