Merge pull request #6415 from matrix-org/t3chguy-patch-1

Revert accidental renaming of dispatcherRef
This commit is contained in:
Michael Telatynski 2021-07-20 14:02:19 +01:00 committed by GitHub
commit 340d09d457
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -83,7 +83,7 @@ export default class PersistedElement extends React.Component {
// for this, so we bodge it by listening for document resize and
// the timeline_resize action.
window.addEventListener('resize', this._repositionChild);
this.dispatcherRef = dis.register(this._onAction);
this._dispatcherRef = dis.register(this._onAction);
}
/**