Skip to content

Commit 36e33e4

Browse files
authored
Update vdom.py
1 parent 67cd1e7 commit 36e33e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reactpy/core/vdom.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ def separate_attributes_and_event_handlers(
216216
attributes: Mapping[str, Any],
217217
) -> tuple[VdomAttributes, EventHandlerDict]:
218218
_attributes: VdomAttributes = {}
219-
_event_handlers: dict[str, EventHandlerType] = {}
219+
_event_handlers: dict[str, EventHandlerType | str] = {}
220220

221221
for k, v in attributes.items():
222222
handler: EventHandlerType

0 commit comments

Comments
 (0)