Skip to content

Commit 35af614

Browse files
parasharrajats77rt
andauthored
Update src/libs/TransactionUtils/index.ts
Co-authored-by: Abdelhafidh Belalia <16493223+s77rt@users.noreply.github.com>
1 parent df9f1a8 commit 35af614

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/libs/TransactionUtils/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -741,8 +741,6 @@ function getAttendees(transaction: OnyxInputOrEntry<Transaction>): Attendee[] {
741741
const creatorEmail = creatorDetails?.login ?? '';
742742
const creatorDisplayName = creatorDetails?.displayName ?? creatorEmail;
743743

744-
// Check if the creator is already in the attendees list
745-
const isCreatorAlreadyInAttendees = attendees.some((attendee) => attendee.accountID === creatorAccountID);
746744

747745
if (!isCreatorAlreadyInAttendees && creatorEmail) {
748746
attendees.push({

0 commit comments

Comments
 (0)