Removes unnecessary size check
@@ -496,7 +496,6 @@ export default function(processState = initialState, action = {}) {
);
const heldAtomUris = parsedAtom.get("holds");
- if (heldAtomUris.size > 0) {
heldAtomUris.map(heldAtomUri => {
if (!processUtils.isAtomLoaded(processState, heldAtomUri)) {
processState = updateAtomProcess(processState, heldAtomUri, {
@@ -504,10 +503,8 @@ export default function(processState = initialState, action = {}) {
});
}
});
- }
const groupMemberUris = parsedAtom.get("groupMembers");
- if (groupMemberUris.size > 0) {
groupMemberUris.map(groupMemberUri => {
if (!processUtils.isAtomLoaded(processState, groupMemberUri)) {
processState = updateAtomProcess(processState, groupMemberUri, {
@@ -515,10 +512,8 @@ export default function(processState = initialState, action = {}) {
});
}
});
- }
const buddyUris = parsedAtom.get("buddies");
- if (buddyUris.size > 0) {
buddyUris.map(buddyUri => {
if (!processUtils.isAtomLoaded(processState, buddyUri)) {
processState = updateAtomProcess(processState, buddyUri, {
@@ -526,7 +521,6 @@ export default function(processState = initialState, action = {}) {
});
}
});
- }
});
return processState;
}
