score:2

Accepted answer
{returnObj?.data && (
    <div className="info">
      <div className="info-block">
        <div className="info-title"><TranslatedString stringId="name" /></div>
        <div className="info-cell">{returnObj.data.name}</div>
        <div className="info-title"><TranslatedString stringId="address" /></div>
        <div className="info-cell">{returnObj.data.address}</div>                 
      </div>
    </div>
)};

score:1

const styles={display:isDivVisible?block:none}
    return (
        <div style={styles}>
Your code
        </div>

Related Query

More Query from same tag