소스 검색

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: