浏览代码

fix import clash between connectionToaster and hooks.useState (#3749)

Thomas Brandého 9 月之前
父节点
当前提交
0eff63eed4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      reflex/experimental/hooks.py

+ 1 - 1
reflex/experimental/hooks.py

@@ -7,7 +7,7 @@ from reflex.vars import Var, VarData
 
 
 def _compose_react_imports(tags: list[str]) -> dict[str, list[ImportVar]]:
-    return {"react": [ImportVar(tag=tag, install=False) for tag in tags]}
+    return {"react": [ImportVar(tag=tag) for tag in tags]}
 
 
 def const(name, value) -> Var: