<StyledTableCell> {connectedEmail.credentialInfoProvider.toUpperCase() === "IMAP" ? ( <Tooltip arrow title="IMAP provider support emails incoming and outgoing, not calendar functionalities" placement="top" classes={{ tooltip: classes.tooltip }} > <StyledChip style={statusChipColor("WARNING")}> {connectedEmail.credentialInfoProvider.toUpperCase()} </StyledChip> </Tooltip> ) : ( <StyledChip style={statusChipColor("WARNING")}> {connectedEmail.credentialInfoProvider.toUpperCase()} </StyledChip> )} </StyledTableCell>