Skip to content

Commit

Permalink
Update utils.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
akanshaaa19 authored Sep 4, 2024
1 parent 3ec56f4 commit c894a57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ export const getInteractiveMessageBody = (interactiveJSON: any) => {

export const getDisplayName = (contact: any) => {
// let's return early with default simulator name if we are looking at simulator contact
const isSimulatorContact = isSimulator(contact?.phone);
const isSimulatorContact = isSimulator(contact.phone);
if (isSimulatorContact) {
return contact.name || contact.maskedPhone;
}
Expand Down

0 comments on commit c894a57

Please sign in to comment.