From 145876681f03f68d2fcdd4f0339f6b2b9f7b9958 Mon Sep 17 00:00:00 2001 From: enahum Date: Mon, 5 Dec 2016 10:19:12 -0300 Subject: Fix react warnings and part of backstage (#4706) --- webapp/utils/async_client.jsx | 4 ++-- webapp/utils/constants.jsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'webapp/utils') 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, -- cgit v1.2.3-1-g7c22