Resolved issue #2263

This commit is contained in:
Robert Chen 2018-11-14 17:06:33 -08:00
parent d2500e88c7
commit 9b7097a772

View file

@ -16,14 +16,14 @@ const Stats = props => (
key="loves" key="loves"
onClick={props.onLoveClicked} onClick={props.onLoveClicked}
> >
{approx(props.loveCount, {decimal: false})} {approx(Math.max(0, props.loveCount), {decimal: false})}
</div> </div>
<div <div
className={classNames('project-favorites', {favorited: props.faved})} className={classNames('project-favorites', {favorited: props.faved})}
key="favorites" key="favorites"
onClick={props.onFavoriteClicked} onClick={props.onFavoriteClicked}
> >
{approx(props.favoriteCount, {decimal: false})} {approx(Math.max(0, props.favoriteCount), {decimal: false})}
</div> </div>
<div <div
className="project-remixes" className="project-remixes"