Skip to content

Commit 8113204

Browse files
committed
Div
1 parent 48667bc commit 8113204

File tree

1 file changed

+2
-2
lines changed
  • reflex/components/radix/primitives

1 file changed

+2
-2
lines changed

reflex/components/radix/primitives/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ def create(cls, *children: Any, **props: Any) -> Component:
4848
Returns:
4949
The new RadixPrimitiveTriggerComponent instance.
5050
"""
51-
from reflex.components.radix.themes.layout.flex import Flex
51+
from reflex.components.el.elements.typography import Div
5252

5353
for child in children:
5454
if "on_click" in getattr(child, "event_triggers", {}):
55-
children = (Flex.create(*children),)
55+
children = (Div.create(*children),)
5656
break
5757
return super().create(*children, **props)

0 commit comments

Comments
 (0)