summaryrefslogtreecommitdiffstats
path: root/web/react/stores/error_store.jsx
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-09-24 15:06:54 -0700
committer=Corey Hulen <corey@hulen.com>2015-09-24 15:06:54 -0700
commit04c12ba58e21297ebe08d0c1e489d5da81cba19e (patch)
treeaac40061e9c15bdc07d31c256070e2dffbd9b044 /web/react/stores/error_store.jsx
parent6a4a73c2d37aa147e0aa2e157ca78ed275ef822b (diff)
downloadchat-04c12ba58e21297ebe08d0c1e489d5da81cba19e.tar.gz
chat-04c12ba58e21297ebe08d0c1e489d5da81cba19e.tar.bz2
chat-04c12ba58e21297ebe08d0c1e489d5da81cba19e.zip
Fixing blue bar and renders warning when mis-configured.
Diffstat (limited to 'web/react/stores/error_store.jsx')
-rw-r--r--web/react/stores/error_store.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/stores/error_store.jsx b/web/react/stores/error_store.jsx
index 597c88cff..ece7d8522 100644
--- a/web/react/stores/error_store.jsx
+++ b/web/react/stores/error_store.jsx
@@ -48,7 +48,7 @@ class ErrorStoreClass extends EventEmitter {
var ErrorStore = new ErrorStoreClass();
-ErrorStore.dispatchToken = AppDispatcher.register(function registry(payload) {
+ErrorStore.dispatchToken = AppDispatcher.register((payload) => {
var action = payload.action;
switch (action.type) {
case ActionTypes.RECIEVED_ERROR: