fix error on react dismount
This commit is contained in:
parent
dde0d606ce
commit
84be3a163b
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -75,7 +75,7 @@ export default class AddonCard extends React.Component {
|
|||
}
|
||||
|
||||
closeSettings() {
|
||||
this.panelRef.current.innerHTML = "";
|
||||
if (this.settingsPanel instanceof Node) this.panelRef.current.innerHTML = "";
|
||||
this.setState({settingsOpen: false});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue