Coding style

This commit is contained in:
Lyubo Marinov 2017-10-18 13:21:46 -05:00
parent ce1a8e7567
commit 8948c837d3
1 changed files with 3 additions and 3 deletions

View File

@ -68,7 +68,7 @@ function _participant(state: Object = {}, action) {
break;
case PARTICIPANT_JOINED: {
const participant = action.participant; // eslint-disable-line no-shadow
const { participant } = action; // eslint-disable-line no-shadow
const {
avatarURL,
connectionStatus,
@ -114,9 +114,9 @@ function _participant(state: Object = {}, action) {
}
case PARTICIPANT_UPDATED: {
const participant = action.participant; // eslint-disable-line no-shadow
const { local } = participant;
const { participant } = action; // eslint-disable-line no-shadow
let { id } = participant;
const { local } = participant;
if (!id && local) {
id = LOCAL_PARTICIPANT_DEFAULT_ID;