Refactor/cleanup TIMELINE_DELETE-related code (#13175)
This commit is contained in:
@@ -25,7 +25,7 @@ const importStatuses = (state, statuses) =>
|
||||
|
||||
const deleteStatus = (state, id, references) => {
|
||||
references.forEach(ref => {
|
||||
state = deleteStatus(state, ref[0], []);
|
||||
state = deleteStatus(state, ref, []);
|
||||
});
|
||||
|
||||
return state.delete(id);
|
||||
|
Reference in New Issue
Block a user