mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-26 19:33:41 +01:00
Fix more code style discrepancies
This commit is contained in:
parent
542d95c2bc
commit
3b210e093a
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue