some modal changes, adding memory leak to fix stop/drop issue
This commit is contained in:
@@ -93,7 +93,6 @@ const inlineStyle = {
|
||||
}
|
||||
|
||||
render() {
|
||||
//const { classes, onRequestClose, handleRequestClose, handleSubmit } = this.props;
|
||||
if (this.props.RSSList.length > 0 && this.state.showList == false){
|
||||
console.log("Setting list to show....")
|
||||
this.setState({showList: true})
|
||||
|
@@ -74,7 +74,7 @@ export default class addTorrentPopup extends React.Component {
|
||||
}
|
||||
|
||||
render() {
|
||||
const { classes, onRequestClose, handleRequestClose, handleSubmit } = this.props;
|
||||
const { classes, onClose, handleRequestClose, handleSubmit } = this.props;
|
||||
return (
|
||||
<div style={inlineStyle}>
|
||||
<IconButton onClick={this.handleClickOpen} color="primary" data-tip="Add Magnet Link" style={button} centerRipple aria-label="Add Magnet Link" >
|
||||
|
@@ -86,7 +86,7 @@ export default class Login extends React.Component {
|
||||
}
|
||||
|
||||
render() {
|
||||
const { classes, onRequestClose, handleRequestClose, handleSubmit } = this.props;
|
||||
const { classes, onClose, handleRequestClose, handleSubmit } = this.props;
|
||||
return (
|
||||
<Dialog open={this.state.open} onClose={this.handleRequestClose} ignoreBackdropClick={true} disableBackdrop={true}>
|
||||
<DialogTitle>Login Here</DialogTitle>
|
||||
|
Reference in New Issue
Block a user