0
0
Fork 0

Refactor/cleanup TIMELINE_DELETE-related code (#13175)

This commit is contained in:
ThibG 2020-04-28 09:53:42 +02:00 committed by GitHub
parent 04eb599864
commit ad9c7aefe6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 7 deletions

View file

@ -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);