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

This commit is contained in:
Thomas Brandého 2024-08-12 12:04:55 +02:00 committed by GitHub
parent b58ce1082e
commit 0eff63eed4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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