Skip to content

Commit 3cbabd4

Browse files
Update reflex/components/component.py
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
1 parent 2299296 commit 3cbabd4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

reflex/components/component.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@ def _post_init(self, *args, **kwargs):
758758
and key not in component_specific_triggers
759759
and key not in props
760760
):
761-
valid_triggers = sorted(self.get_event_triggers().keys())
761+
valid_triggers = sorted(component_specific_triggers.keys())
762762
msg = (
763763
f"The {(comp_name := type(self).__name__)} does not take in an `{key}` event trigger. "
764764
f"Valid triggers for {comp_name}: {valid_triggers}. "

0 commit comments

Comments
 (0)