diff --git a/app/javascript/flavours/glitch/reducers/timelines.js b/app/javascript/flavours/glitch/reducers/timelines.js index acd12783323..d7d5ac43fe7 100644 --- a/app/javascript/flavours/glitch/reducers/timelines.js +++ b/app/javascript/flavours/glitch/reducers/timelines.js @@ -83,7 +83,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) => {