Refactor/cleanup TIMELINE_DELETE-related code (#13175)
This commit is contained in:
parent
04eb599864
commit
ad9c7aefe6
3 changed files with 7 additions and 7 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue