I'm getting a 0 being rendered on the page when showScore is false
<div>
{ !isObjectEmpty(userReport) &&
<div className={'data'}>
{showScore && <span><FaTrophy/> {score}</span>}
</div>
}
</div>
CSS for this div
padding: 10px;
display: flex;
flex-direction: row;
justify-content: space-between;
font-size: 0.8em;
font-weight: bold;
background-color: rgba(255,255,255,0.5);
Any ideas why I would get a 0 in the page instead of nothing when showScore is false?