Skip to content

Commit c82a942

Browse files
authored
ENG-6695: Do not allow call_script EventSpec to accept callback after being called (#5571)
1 parent e02405d commit c82a942

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

reflex/event.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1269,7 +1269,7 @@ def call_script(
12691269
Returns:
12701270
EventSpec: An event that will execute the client side javascript.
12711271
"""
1272-
callback_kwargs = {}
1272+
callback_kwargs = {"callback": None}
12731273
if callback is not None:
12741274
callback_kwargs = {
12751275
"callback": str(

0 commit comments

Comments
 (0)