Add emoji_reactioned_by_slim api (not work)
This commit is contained in:
parent
a1485f242d
commit
9ad51e001e
8 changed files with 98 additions and 3 deletions
|
@ -69,7 +69,6 @@ class EmojiReactions extends ImmutablePureComponent {
|
|||
if (!groups[key]) groups[key] = [value];
|
||||
else groups[key].push(value);
|
||||
}
|
||||
console.dir(groups)
|
||||
|
||||
const emptyMessage = <FormattedMessage id='empty_column.emoji_reactions' defaultMessage='No one has reacted with emoji this post yet. When someone does, they will show up here.' />;
|
||||
|
||||
|
|
|
@ -136,8 +136,6 @@ export default function userLists(state = initialState, action) {
|
|||
case FAVOURITES_FETCH_SUCCESS:
|
||||
return state.setIn(['favourited_by', action.id], ImmutableList(action.accounts.map(item => item.id)));
|
||||
case EMOJI_REACTIONS_FETCH_SUCCESS:
|
||||
console.log('===================')
|
||||
console.dir(state);
|
||||
return state.setIn(['emoji_reactioned_by', action.id], ImmutableList(action.accounts));
|
||||
case NOTIFICATIONS_UPDATE:
|
||||
return action.notification.type === 'follow_request' ? normalizeFollowRequest(state, action.notification) : state;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue