Skip to content

Commit 2b7ea03

Browse files
committed
fix test_event_actions
1 parent 5d9ebc2 commit 2b7ea03

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/integration/test_event_actions.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ class EventFiringComponent(rx.Component):
4949
def _get_custom_code(self) -> str | None:
5050
return """
5151
function EventFiringComponent(props) {
52-
return (
53-
<div id={props.id} onClick={(e) => props.onClick("foo")}>
54-
Event Firing Component
55-
</div>
52+
return jsx(
53+
"div",
54+
{"id":props.id,"onClick":(e) => props.onClick("foo")},
55+
"Event Firing Component",
5656
)
5757
}"""
5858

0 commit comments

Comments
 (0)