diff --git a/app/javascript/mastodon/reducers/timelines.js b/app/javascript/mastodon/reducers/timelines.js index beab2ea038a..1f7ece8122f 100644 --- a/app/javascript/mastodon/reducers/timelines.js +++ b/app/javascript/mastodon/reducers/timelines.js @@ -88,7 +88,7 @@ const deleteStatus = (state, id, accountId, references) => { }; const clearTimeline = (state, timeline) => { - return state.updateIn([timeline, 'items'], list => list.clear()); + return state.set(timeline, initialTimeline); }; const filterTimelines = (state, relationship, statuses) => {