Conditionally render description in TableField
This commit is contained in:
parent
3097cbe728
commit
6fb41a40ef
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ const TableField = (props: Props) => {
|
|||
<div className="Left">
|
||||
<div className="Info">
|
||||
<h3>{props.label}</h3>
|
||||
<p>{props.description}</p>
|
||||
{props.description && <p>{props.description}</p>}
|
||||
</div>
|
||||
<div className="Image">{image()}</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue