From 0eff63eed4580679c2c04232a0d42ee0205f87ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Brand=C3=A9ho?= Date: Mon, 12 Aug 2024 12:04:55 +0200 Subject: [PATCH] fix import clash between connectionToaster and hooks.useState (#3749) --- reflex/experimental/hooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reflex/experimental/hooks.py b/reflex/experimental/hooks.py index 090c2b39d..848ad7fb7 100644 --- a/reflex/experimental/hooks.py +++ b/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: