Add option to add torrent without starting

This commit is contained in:
John Furrow
2016-04-23 14:33:40 -07:00
parent fc01d93431
commit dda0ce0e88
25 changed files with 155 additions and 182 deletions

View File

@@ -26,7 +26,7 @@ export default class SearchBox extends React.Component {
let currentCheckedState = this.state.checked;
let newCheckedState = !currentCheckedState;
this.setState({checked: newCheckedState})
this.setState({checked: newCheckedState});
if (this.props.onChange) {
this.props.onChange(newCheckedState);