diff --git a/reflex/components/component.py b/reflex/components/component.py index 75a821ac8..fd7c93cbd 100644 --- a/reflex/components/component.py +++ b/reflex/components/component.py @@ -653,7 +653,6 @@ class Component(BaseComponent, ABC): Returns: The event triggers. - """ default_triggers: Dict[str, types.ArgsSpec | Sequence[types.ArgsSpec]] = { EventTriggers.ON_FOCUS: no_args_event_spec, diff --git a/reflex/testing.py b/reflex/testing.py index cc75e795f..05b7d7c9d 100644 --- a/reflex/testing.py +++ b/reflex/testing.py @@ -436,7 +436,6 @@ class AppHarness: Returns: The rendered app global code. - """ if not inspect.isclass(value) and not inspect.isfunction(value): return f"{key} = {value!r}"