1 import { createSelector } from '@reduxjs/toolkit';
3 import { getIsMemberInactive } from '@proton/shared/lib/keys/memberHelper';
5 import { selectMembers } from './index';
7 export const selectDisabledMembers = createSelector(selectMembers, (membersState) => {
8 return membersState.value?.filter(getIsMemberInactive) || [];