Some further cleanup of presentational stuff

This commit is contained in:
Franc Camps-Febrer
2018-11-27 13:15:23 -05:00
parent 20051db90a
commit f345b76e57
8 changed files with 33 additions and 68 deletions

View File

@@ -33,9 +33,8 @@ class CardStack extends React.Component {
/>
);
});
} else {
return '';
}
return '';
}
renderLocation() {
@@ -77,6 +76,7 @@ class CardStack extends React.Component {
if (this.props.isFetchingEvents) {
return this.renderIsLoading();
} else if (this.props.selected.length > 0) {
return (
<div id="card-stack" className={`card-stack ${this.props.isCardstack ? '' : ' folded'}`}>