My Files: make "Confirm" button in delete modal work
Was calling lbry.setState() instead of this.setState()
This commit is contained in:
parent
3471184828
commit
3dd961b70a
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ var MyFilesRowMoreMenu = React.createClass({
|
||||||
},
|
},
|
||||||
handleDeleteConfirmed: function() {
|
handleDeleteConfirmed: function() {
|
||||||
lbry.deleteFile(this.props.lbryUri);
|
lbry.deleteFile(this.props.lbryUri);
|
||||||
lbry.setState({
|
this.setState({
|
||||||
modal: null,
|
modal: null,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue