This commit is contained in:
Khaleel Al-Adhami 2024-10-31 15:17:11 -07:00
parent 3d111501fb
commit 00fe50fed9

View File

@ -39,6 +39,7 @@ from reflex.constants import (
PageNames,
)
from reflex.constants.compiler import SpecialAttributes
from reflex.constants.state import FRONTEND_EVENT_STATE
from reflex.event import (
EventCallback,
EventChain,
@ -1147,7 +1148,7 @@ class Component(BaseComponent, ABC):
if isinstance(event, EventSpec):
if (
event.handler.state_full_name
and event.handler.state_full_name != "state"
and event.handler.state_full_name != FRONTEND_EVENT_STATE
):
return True
else: