diff --git a/reflex/components/core/cond.py b/reflex/components/core/cond.py index 3eaf83cac87..8d14a7c3c29 100644 --- a/reflex/components/core/cond.py +++ b/reflex/components/core/cond.py @@ -5,7 +5,7 @@ from typing import Any, overload from reflex.components.base.fragment import Fragment -from reflex.components.component import BaseComponent, Component, MemoizationLeaf +from reflex.components.component import BaseComponent, Component from reflex.components.tags import CondTag, Tag from reflex.constants import Dirs from reflex.style import LIGHT_COLOR_MODE, resolved_color_mode @@ -20,7 +20,7 @@ } -class Cond(MemoizationLeaf): +class Cond(Component): """Render one of two components based on a condition.""" # The cond to determine which component to render.