1
0
Эх сурвалжийг харах

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

Thomas Brandého 9 сар өмнө
parent
commit
0eff63eed4

+ 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: