Names props error

This commit is contained in:
macleysousa
2022-03-16 11:24:09 -03:00
parent e691be8fdf
commit 9950ce3bb0
2 changed files with 17 additions and 17 deletions

View File

@@ -105,9 +105,9 @@ const useStyles = makeStyles(theme => ({
marginRight: 5,
right: 5,
bottom: 5,
background:"#2576D2",
background: "#2576D2",
color: "#ffffff",
border:"1px solid #CCC",
border: "1px solid #CCC",
padding: 1,
paddingLeft: 5,
paddingRight: 5,
@@ -212,7 +212,7 @@ const TicketListItem = ({ ticket }) => {
</Typography>
)}
{ticket.whatsappId && (
<div className={classes.userTag} title={i18n.t("ticketsList.connectionTitle")}>{ticket.whatsapp.name}</div>
<div className={classes.userTag} title={i18n.t("ticketsList.connectionTitle")}>{ticket.whatsapp?.name}</div>
)}
</span>
}