Fix a number of minor code quality issues
Most of these are complaints from my IDE. Discovered by going through nearly every file looking for React warnings.
This commit is contained in:
parent
56dda3895c
commit
c86d75693b
11 changed files with 12 additions and 18 deletions
|
@ -41,7 +41,7 @@ export default class RoomSettingsDialog extends React.Component {
|
|||
}
|
||||
|
||||
componentWillUnmount() {
|
||||
dis.unregister(this._dispatcherRef);
|
||||
if (this._dispatcherRef) dis.unregister(this._dispatcherRef);
|
||||
}
|
||||
|
||||
_onAction = (payload) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue