Fixes typo in ListItemLayout

If no "leftActions" were defined on a ListItem, the "rightActions" will
not be rendered due to a typo.
old
Justin Rainbow 2016-04-25 16:06:08 -07:00
parent 5d39761581
commit a4de34ece1
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ const ListItemLayout = (props) => {
<span className={className}>
{!emptyActions(leftActions) > 0 && <ListItemActions type='left'>{leftActions}</ListItemActions>}
{content}
{!emptyActions(leftActions) > 0 && <ListItemActions type='right'>{rightActions}</ListItemActions>}
{!emptyActions(rightActions) > 0 && <ListItemActions type='right'>{rightActions}</ListItemActions>}
</span>
);
};