mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-15 00:38:27 +00:00
Fix more code style discrepancies
This commit is contained in:
@@ -67,7 +67,8 @@ const deleteFromContexts = (immutableState, ids) => immutableState.withMutations
|
|||||||
});
|
});
|
||||||
|
|
||||||
const filterContexts = (state, relationship, statuses) => {
|
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'));
|
.map(status => status.get('id'));
|
||||||
|
|
||||||
return deleteFromContexts(state, ownedStatusIds);
|
return deleteFromContexts(state, ownedStatusIds);
|
||||||
|
|||||||
Reference in New Issue
Block a user