diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-03 19:52:09 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-03 19:52:09 +0100 |
commit | 0405ef977a3ba37b3da472733e59be6db7bd7b99 (patch) | |
tree | 47e478e5c06d2add85574de78e58515b8ccf9083 /app/assets/javascripts/components/reducers/accounts.jsx | |
parent | 159203a7bcda8512a2b89d91c727446d8f51360b (diff) |
Aria-labels actually didn't work in React, so removing. Fixing some bugs
Diffstat (limited to 'app/assets/javascripts/components/reducers/accounts.jsx')
-rw-r--r-- | app/assets/javascripts/components/reducers/accounts.jsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/components/reducers/accounts.jsx b/app/assets/javascripts/components/reducers/accounts.jsx index bc2144752..f01144786 100644 --- a/app/assets/javascripts/components/reducers/accounts.jsx +++ b/app/assets/javascripts/components/reducers/accounts.jsx @@ -71,11 +71,12 @@ export default function accounts(state = initialState, action) { case ACCOUNT_TIMELINE_EXPAND_SUCCESS: case CONTEXT_FETCH_SUCCESS: return normalizeAccountsFromStatuses(state, action.statuses); - case TIMELINE_UPDATE: case REBLOG_SUCCESS: case FAVOURITE_SUCCESS: case UNREBLOG_SUCCESS: case UNFAVOURITE_SUCCESS: + return normalizeAccountFromStatus(state, action.response); + case TIMELINE_UPDATE: case STATUS_FETCH_SUCCESS: return normalizeAccountFromStatus(state, action.status); default: |