From 604f8f8b6b0173531437b55c19847d095486560c Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Thu, 7 Mar 2019 14:57:30 -0700 Subject: [PATCH] Misc fixes to StatusMessageContextMenu "waiting" is not a property, and unmount had a typo --- .../views/context_menus/StatusMessageContextMenu.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/views/context_menus/StatusMessageContextMenu.js b/src/components/views/context_menus/StatusMessageContextMenu.js index 5a275c59f0..441220c95e 100644 --- a/src/components/views/context_menus/StatusMessageContextMenu.js +++ b/src/components/views/context_menus/StatusMessageContextMenu.js @@ -25,8 +25,6 @@ export default class StatusMessageContextMenu extends React.Component { static propTypes = { // js-sdk User object. Not required because it might not exist. user: PropTypes.object, - // True when waiting for status change to complete. - waiting: false, }; constructor(props, context) { @@ -45,7 +43,7 @@ export default class StatusMessageContextMenu extends React.Component { user.on("User._unstable_statusMessage", this._onStatusMessageCommitted); } - componentWillUmount() { + componentWillUnmount() { const { user } = this.props; if (!user) { return;