summaryrefslogtreecommitdiffstats
path: root/web/react/components/delete_post_modal.jsx
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-02-08 12:56:36 -0500
committerChristopher Speller <crspeller@gmail.com>2016-02-08 12:56:36 -0500
commit0fcb4252c8f873f5c28c08fc600368cf8d1fe6a8 (patch)
treee2506f66379ba6b3bd93b3753c2064332eb3fd55 /web/react/components/delete_post_modal.jsx
parentb6300b1656506b3ce264c8844dd11865ca61d391 (diff)
parent2af861423619271651e01f1bb879c6e5f189f241 (diff)
downloadchat-0fcb4252c8f873f5c28c08fc600368cf8d1fe6a8.tar.gz
chat-0fcb4252c8f873f5c28c08fc600368cf8d1fe6a8.tar.bz2
chat-0fcb4252c8f873f5c28c08fc600368cf8d1fe6a8.zip
Merge pull request #2101 from hmhealey/plt1415
PLT-1415 Renamed RECIEVED_* to RECEIVED_*
Diffstat (limited to 'web/react/components/delete_post_modal.jsx')
-rw-r--r--web/react/components/delete_post_modal.jsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/web/react/components/delete_post_modal.jsx b/web/react/components/delete_post_modal.jsx
index 9d7dcb3e5..65ffa96a1 100644
--- a/web/react/components/delete_post_modal.jsx
+++ b/web/react/components/delete_post_modal.jsx
@@ -62,12 +62,12 @@ export default class DeletePostModal extends React.Component {
var selectedPost = selectedList.posts[selectedList.order[0]];
if ((selectedPost.id === this.state.post.id && !this.state.root_id) || selectedPost.root_id === this.state.post.id) {
AppDispatcher.handleServerAction({
- type: ActionTypes.RECIEVED_SEARCH,
+ type: ActionTypes.RECEIVED_SEARCH,
results: null
});
AppDispatcher.handleServerAction({
- type: ActionTypes.RECIEVED_POST_SELECTED,
+ type: ActionTypes.RECEIVED_POST_SELECTED,
results: null
});
} else if (selectedPost.id === this.state.post.id && this.state.root_id) {
@@ -76,12 +76,12 @@ export default class DeletePostModal extends React.Component {
delete selectedList.posts[selectedPost.id];
AppDispatcher.handleServerAction({
- type: ActionTypes.RECIEVED_POST_SELECTED,
+ type: ActionTypes.RECEIVED_POST_SELECTED,
post_list: selectedList
});
AppDispatcher.handleServerAction({
- type: ActionTypes.RECIEVED_SEARCH,
+ type: ActionTypes.RECEIVED_SEARCH,
results: null
});
}