Skip to content

Commit d5dddff

Browse files
committed
fix rdarp001
1 parent 9cc9627 commit d5dddff

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

@plotly/dash-test-components/src/components/AddPropsComponent.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,9 @@ const AddPropsComponent = (props) => {
77

88
return (
99
<div id={id}>
10-
{React.cloneElement(children, {
10+
{React.cloneElement(children, { extras: {
1111
receive: `Element #${id} pass`,
12-
id: id,
13-
})}
12+
}})}
1413
</div>
1514
);
1615
};

0 commit comments

Comments
 (0)