mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-18 07:38:42 +00:00
parent
d126240129
commit
b300948526
|
@ -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) => {
|
||||
|
|
Loading…
Reference in a new issue