I use tslint to check my react typescript app. I created this and it works but i get this message from tslint: "Multiline JS expressions inside JSX are forbidden". I wonder how I should change the code so I don't get tslint message. The code where it occurs is:
<MDBCol size="12">
{pubItem ? (
<table className="pubDetails w-100">
<tbody>
<tr>
<th className="pubHead w-25">Publicatie ID:</th>
<td className="pubItems w-25">
{pubItem.publicationId ? pubItem.publicationId : "Geen"}
</td>
</tr>
<tr>
<th className="pubHead">Publicatie Naam:</th>
<td className="pubItems">
{pubItem.publicationName
? pubItem.publicationName
: "Geen"}
</td>
</tr>
</tbody>
</table>
) : null}
</MDBCol>