Skip to content

Commit

Permalink
remove key
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismcv committed Dec 4, 2015
1 parent 1bc8191 commit fe398e7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/dialog.jsx
Expand Up @@ -265,9 +265,8 @@ const DialogInline = React.createClass({
);
},

_getAction(actionJSON, key) {
_getAction(actionJSON) {
let props = {
key: key,
secondary: true,
onClick: actionJSON.onClick,
onTouchTap: () => {
Expand Down Expand Up @@ -315,7 +314,7 @@ const DialogInline = React.createClass({

//if the current action isn't a react object, create one
if (!React.isValidElement(currentAction)) {
currentAction = this._getAction(currentAction, i);
currentAction = this._getAction(currentAction);
}

actionObjects.push(currentAction);
Expand Down

0 comments on commit fe398e7

Please sign in to comment.