We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 132b24d commit 0702953Copy full SHA for 0702953
reflex/istate/manager/__init__.py
@@ -131,10 +131,10 @@ async def modify_state_with_links(
131
Yields:
132
The state for the token with linked states patched in.
133
"""
134
- from reflex.istate.shared import SharedStateBaseInternal
135
-
136
async with self.modify_state(token, **context) as root_state:
137
if getattr(root_state, "_reflex_internal_links", None):
+ from reflex.istate.shared import SharedStateBaseInternal
+
138
shared_state = await root_state.get_state(SharedStateBaseInternal)
139
async with shared_state._modify_linked_states(
140
previous_dirty_vars=previous_dirty_vars
0 commit comments