Fix more code style discrepancies

shrike
Claire 2023-11-15 12:52:50 +01:00
parent 542d95c2bc
commit 3b210e093a
1 changed files with 2 additions and 1 deletions

View File

@ -67,7 +67,8 @@ const deleteFromContexts = (immutableState, ids) => immutableState.withMutations
});
const filterContexts = (state, relationship, statuses) => {
const ownedStatusIds = statuses.filter(status => status.get('account') === relationship.id)
const ownedStatusIds = statuses
.filter(status => status.get('account') === relationship.id)
.map(status => status.get('id'));
return deleteFromContexts(state, ownedStatusIds);