We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96ff0b5 commit 1abc7dcCopy full SHA for 1abc7dc
reflex/components/core/cond.py
@@ -5,7 +5,7 @@
5
from typing import Any, overload
6
7
from reflex.components.base.fragment import Fragment
8
-from reflex.components.component import BaseComponent, Component, MemoizationLeaf
+from reflex.components.component import BaseComponent, Component
9
from reflex.components.tags import CondTag, Tag
10
from reflex.constants import Dirs
11
from reflex.style import LIGHT_COLOR_MODE, resolved_color_mode
@@ -20,7 +20,7 @@
20
}
21
22
23
-class Cond(MemoizationLeaf):
+class Cond(Component):
24
"""Render one of two components based on a condition."""
25
26
# The cond to determine which component to render.
0 commit comments