Linting Issues

This commit is contained in:
Belen Curcio
2016-11-14 23:35:33 -03:00
parent e53ac55e6b
commit 366e072280
2 changed files with 5 additions and 5 deletions
+2 -1
View File
@@ -38,12 +38,13 @@ export default function community (state = initialState, action) {
})
.set('commenters', commenters); // Sets to normal array
}
case SET_ROLE :
case SET_ROLE : {
const commenters = state.get('commenters');
const idx = commenters.findIndex(el => el.id === action.id);
commenters[idx].roles[0] = action.role;
return state.set('commenters', commenters);
}
case SORT_UPDATE :
return state
.set('field', action.sort.field)