summaryrefslogtreecommitdiffstats
path: root/webapp/utils
diff options
context:
space:
mode:
authorenahum <nahumhbl@gmail.com>2016-12-05 10:19:12 -0300
committerHarrison Healey <harrisonmhealey@gmail.com>2016-12-05 08:19:12 -0500
commit145876681f03f68d2fcdd4f0339f6b2b9f7b9958 (patch)
treea1d46412813338d5e9453e3fc515dd52188cef91 /webapp/utils
parent05783664cd91e278913db5504e60bb8bc2992cb6 (diff)
downloadchat-145876681f03f68d2fcdd4f0339f6b2b9f7b9958.tar.gz
chat-145876681f03f68d2fcdd4f0339f6b2b9f7b9958.tar.bz2
chat-145876681f03f68d2fcdd4f0339f6b2b9f7b9958.zip
Fix react warnings and part of backstage (#4706)
Diffstat (limited to 'webapp/utils')
-rw-r--r--webapp/utils/async_client.jsx4
-rw-r--r--webapp/utils/constants.jsx2
2 files changed, 3 insertions, 3 deletions
diff --git a/webapp/utils/async_client.jsx b/webapp/utils/async_client.jsx
index 3bbb01d2f..481f85000 100644
--- a/webapp/utils/async_client.jsx
+++ b/webapp/utils/async_client.jsx
@@ -1389,7 +1389,7 @@ export function editCommand(command, success, error) {
command,
(data) => {
AppDispatcher.handleServerAction({
- type: ActionTypes.RECEIVED_COMMAND,
+ type: ActionTypes.UPDATED_COMMAND,
command: data
});
@@ -1576,4 +1576,4 @@ export function listReactions(channelId, postId) {
dispatchError(err, 'listReactions');
}
);
-} \ No newline at end of file
+}
diff --git a/webapp/utils/constants.jsx b/webapp/utils/constants.jsx
index 2c881e024..1eac2732b 100644
--- a/webapp/utils/constants.jsx
+++ b/webapp/utils/constants.jsx
@@ -90,7 +90,7 @@ export const ActionTypes = keyMirror({
RECEIVED_PROFILES_IN_TEAM: null,
RECEIVED_PROFILE: null,
RECEIVED_PROFILES_IN_CHANNEL: null,
- RECEIVED_PROFILE_NOT_IN_CHANNEL: null,
+ RECEIVED_PROFILES_NOT_IN_CHANNEL: null,
RECEIVED_ME: null,
RECEIVED_SESSIONS: null,
RECEIVED_AUDITS: null,