0
0
Fork 0

Fix j/k keyboard shortcuts on some status lists (#25554)

This commit is contained in:
Claire 2023-06-22 17:54:43 +02:00 committed by GitHub
parent a5b6f6da80
commit a8c1c8bd37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 13 additions and 4 deletions

View file

@ -137,3 +137,7 @@ export const getAccountHidden = createSelector([
], (hidden, followingOrRequested, isSelf) => {
return hidden && !(isSelf || followingOrRequested);
});
export const getStatusList = createSelector([
(state, type) => state.getIn(['status_lists', type, 'items']),
], (items) => items.toList());