centered show lite content

This commit is contained in:
bill bittner 2018-02-04 17:51:17 -08:00
parent c4a77f0317
commit cb871cae36

View file

@ -103,23 +103,23 @@ class ShowAsset extends React.Component {
}
render () {
if (this.props.claimData) {
return (
<div>
{ this.props.extension ? (
<ShowAssetLite
error={this.state.error}
claimData={this.props.claimData}
/>
) : (
<ShowAssetDetails
error={this.state.error}
claimData={this.props.claimData}
shortId={this.props.shortId}
/>
)}
</div>
);
}
if (this.props.extension) {
return (
<ShowAssetLite
error={this.state.error}
claimData={this.props.claimData}
/>
);
} else {
return (
<ShowAssetDetails
error={this.state.error}
claimData={this.props.claimData}
shortId={this.props.shortId}
/>
);
}
};
return (
<div></div>
);