diff options
Diffstat (limited to 'app/assets/javascripts/components')
-rw-r--r-- | app/assets/javascripts/components/reducers/statuses.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/components/reducers/statuses.jsx b/app/assets/javascripts/components/reducers/statuses.jsx index 084b6304c..6323e0fbe 100644 --- a/app/assets/javascripts/components/reducers/statuses.jsx +++ b/app/assets/javascripts/components/reducers/statuses.jsx @@ -46,7 +46,7 @@ const normalizeStatus = (state, status) => { status.reblog = status.reblog.id; } - return state.set(status.id, Immutable.fromJS(status)); + return state.update(status.id, Immutable.Map(), map => map.mergeDeep(Immutable.fromJS(status))); }; const normalizeStatuses = (state, statuses) => { |