tidy InfoCard

This commit is contained in:
Collin Barrett 2018-09-27 18:06:25 -05:00
parent 4913595803
commit 67ef1a0905

View file

@ -32,9 +32,10 @@ export const InfoCard = (props: IProps) =>
<div className="d-md-none">
{props.syntax
? props.syntax.supportedSoftware.map(
(s: ISyntaxSupportedSoftware, i: number) => <a href={s.homeUrl} key={i}>
<SoftwareIcon id={s.id} key={i}/>
</a>)
(s: ISyntaxSupportedSoftware, i: number) =>
<a href={s.homeUrl} key={i}>
<SoftwareIcon id={s.id} key={i}/>
</a>)
: null}
</div>
<Description {...props} url={props.descriptionSourceUrl}/>