diff --git a/reflex/components/component.py b/reflex/components/component.py index e1a398786..f9e0ceaab 100644 --- a/reflex/components/component.py +++ b/reflex/components/component.py @@ -191,7 +191,7 @@ def satisfies_type_hint(obj: Any, type_hint: Any) -> bool: Returns: Whether the object satisfies the type hint. """ - return types._isinstance(obj, type_hint, nested=1) + return types._isinstance(obj, type_hint, nested=0) class Component(BaseComponent, ABC):