Skip to content

Commit 42b3be3

Browse files
committed
avoid blind .pop in Markdown.create
1 parent 59a0584 commit 42b3be3

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

reflex/components/markdown/markdown.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,8 +322,7 @@ def create(
322322
src,
323323
component_map=component_map,
324324
component_map_hash=cls._component_map_hash(component_map),
325-
remark_plugins=props.pop("remark_plugins"),
326-
rehype_plugins=props.pop("rehype_plugins"),
325+
**props,
327326
)
328327

329328
def add_imports(self) -> ImportDict | list[ImportDict]:

0 commit comments

Comments
 (0)