Skip to content

Commit

Permalink
rebase on main
Browse files Browse the repository at this point in the history
  • Loading branch information
ElijahAhianyo committed Jun 11, 2024
1 parent e559683 commit fb477f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion reflex/event.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,8 @@ def as_event_spec(self, handler: EventHandler) -> EventSpec:
(
Var.create_safe("files", _var_is_string=False),
Var.create_safe(
f"filesById.{upload_id}", _var_is_string=False
f"filesById[{Var.create_safe(upload_id, _var_is_string=True)._var_name_unwrapped}]",
_var_is_string=False,
)._replace(_var_data=upload_files_context_var_data),
),
(
Expand Down

0 comments on commit fb477f9

Please sign in to comment.