Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Commit

Permalink
Fix: remove should be removeCapability
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgraham committed Aug 4, 2017
1 parent 2d41617 commit e5a8d5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/renderer/components/Session/NewSessionForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export default class NewSessionForm extends Component {
{this.getCapsControl(cap, index)}
</FormItem>
<FormItem>
<Button {...{disabled: caps.length <= 1}} icon='delete' onClick={() => remove(index)}/>
<Button {...{disabled: caps.length <= 1}} icon='delete' onClick={() => removeCapability(index)}/>
</FormItem>
</div>;
})}
Expand Down

0 comments on commit e5a8d5c

Please sign in to comment.