You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-20 16:22:28 +03:00
Check for valid reference.
This commit is contained in:
@@ -90,8 +90,10 @@ export default class Stickerpicker extends React.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
componentWillUnmount() {
|
componentWillUnmount() {
|
||||||
|
if (this.dispatcherRef) {
|
||||||
dis.unregister(this.dispatcherRef);
|
dis.unregister(this.dispatcherRef);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
_imError(errorMsg, e) {
|
_imError(errorMsg, e) {
|
||||||
console.error(errorMsg, e);
|
console.error(errorMsg, e);
|
||||||
|
|||||||
Reference in New Issue
Block a user