Adjust formatting

Signed-off-by: Robert Bunning <rbunning@webstaurantstore.com>
This commit is contained in:
Robert Bunning
2023-04-24 16:32:18 -04:00
parent 6e387c077a
commit 54da67d820
+1
View File
@@ -107,6 +107,7 @@ export const getAllDesendantMembersForGroupEntity = async (
export const removeDuplicateEntitiesFrom = (entityArray: Entity[]) => {
const seenEntities = new Map<string, boolean>();
return entityArray.filter(entity => {
const stringifiedEntity = stringifyEntityRef(entity);
const isDuplicate = seenEntities.has(stringifiedEntity);