We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e5005e commit ae635b9Copy full SHA for ae635b9
src/menu-item.js
@@ -28,11 +28,11 @@ const MenuItem = React.createClass({
28
if (disabled) return;
29
30
31
-
32
- assign({}, data, monitor.getItem());
+ var newData = {}
+ assign(newData, data, monitor.getItem());
33
34
if (typeof onClick === "function") {
35
- onClick(event, data);
+ onClick(event, newData);
36
}
37
38
if (preventClose) return;
0 commit comments