summaryrefslogtreecommitdiffstats
path: root/web/react/components/edit_post_modal.jsx
diff options
context:
space:
mode:
authorHarrison Healey <harrisonmhealey@gmail.com>2015-11-02 14:20:54 -0500
committerHarrison Healey <harrisonmhealey@gmail.com>2015-11-02 14:20:54 -0500
commite52669c2da0bb78c225a5c87edebe472e4c7ac56 (patch)
treea311de9975f99ab26396510c7261bfc30f799495 /web/react/components/edit_post_modal.jsx
parent31eee1ef6ebb59a89885ef7e3ebd6801f9a396d4 (diff)
parentd4ec6d3bf42d257851304fe9588f2db8bbbefa13 (diff)
downloadchat-e52669c2da0bb78c225a5c87edebe472e4c7ac56.tar.gz
chat-e52669c2da0bb78c225a5c87edebe472e4c7ac56.tar.bz2
chat-e52669c2da0bb78c225a5c87edebe472e4c7ac56.zip
Merge pull request #1249 from mattermost/plt-823
PLT-823 Refactor of center channel
Diffstat (limited to 'web/react/components/edit_post_modal.jsx')
-rw-r--r--web/react/components/edit_post_modal.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/edit_post_modal.jsx b/web/react/components/edit_post_modal.jsx
index 2abb3f151..ef32baa7d 100644
--- a/web/react/components/edit_post_modal.jsx
+++ b/web/react/components/edit_post_modal.jsx
@@ -120,7 +120,7 @@ export default class EditPostModal extends React.Component {
PreferenceStore.addChangeListener(this.onPreferenceChange);
}
componentWillUnmount() {
- PostStore.removeEditPostListener(this.handleEditPostEvent);
+ PostStore.removeEditPostListner(this.handleEditPostEvent);
PreferenceStore.removeChangeListener(this.onPreferenceChange);
}
render() {