From 50815f9be7195d736debd6bcd9d300dd95bbc738 Mon Sep 17 00:00:00 2001
From: JoramWilander <jwawilander@gmail.com>
Date: Thu, 12 Nov 2015 11:19:59 -0500
Subject: Rename areStatesEqual to areObjectsEqual and make it more
 comprehensive and accurate.

---
 web/react/components/delete_post_modal.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'web/react/components/delete_post_modal.jsx')

diff --git a/web/react/components/delete_post_modal.jsx b/web/react/components/delete_post_modal.jsx
index 3a3dabce5..f3bead1c2 100644
--- a/web/react/components/delete_post_modal.jsx
+++ b/web/react/components/delete_post_modal.jsx
@@ -81,7 +81,7 @@ export default class DeletePostModal extends React.Component {
     }
     onListenerChange() {
         var newList = PostStore.getSelectedPost();
-        if (!Utils.areStatesEqual(this.state.selectedList, newList)) {
+        if (!Utils.areObjectsEqual(this.state.selectedList, newList)) {
             this.setState({selectedList: newList});
         }
     }
-- 
cgit v1.2.3-1-g7c22

