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 161fee5 commit 6612a1fCopy full SHA for 6612a1f
reflex/event.py
@@ -1866,7 +1866,7 @@ def fix_events(
1866
# Fix the events created by the handler.
1867
out = []
1868
for e in events:
1869
- if callable(e) and e.__qualname__ == "<lambda>":
+ if callable(e) and getattr(e, "__name__", "") == "<lambda>":
1870
# A lambda was returned, assume the user wants to call it with no args.
1871
e = e()
1872
if isinstance(e, Event):
0 commit comments