mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-09 07:58:23 +00:00
Check for valid reference.
This commit is contained in:
@@ -90,7 +90,9 @@ export default class Stickerpicker extends React.Component {
|
||||
}
|
||||
|
||||
componentWillUnmount() {
|
||||
dis.unregister(this.dispatcherRef);
|
||||
if (this.dispatcherRef) {
|
||||
dis.unregister(this.dispatcherRef);
|
||||
}
|
||||
}
|
||||
|
||||
_imError(errorMsg, e) {
|
||||
|
||||
Reference in New Issue
Block a user