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 () { render () {
if (this.props.claimData) { if (this.props.claimData) {
return ( if (this.props.extension) {
<div> return (
{ this.props.extension ? ( <ShowAssetLite
<ShowAssetLite error={this.state.error}
error={this.state.error} claimData={this.props.claimData}
claimData={this.props.claimData} />
/> );
) : ( } else {
<ShowAssetDetails return (
error={this.state.error} <ShowAssetDetails
claimData={this.props.claimData} error={this.state.error}
shortId={this.props.shortId} claimData={this.props.claimData}
/> shortId={this.props.shortId}
)} />
</div> );
); }
} };
return ( return (
<div></div> <div></div>
); );