Skip to content

Commit

Permalink
[components] Pass action item to menu action handler (#972)
Browse files Browse the repository at this point in the history
  • Loading branch information
rexxars committed Sep 21, 2018
1 parent 5086d75 commit f7f76c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@sanity/components/src/panes/DefaultPane.js
Expand Up @@ -227,7 +227,7 @@ class Pane extends React.Component {
icon={act.icon}
color="primary"
kind="simple"
onClick={this.handleMenuAction}
onClick={this.handleMenuAction.bind(this, act)}
/>
)
}
Expand Down

0 comments on commit f7f76c0

Please sign in to comment.