import React from 'react'; import PropTypes from 'prop-types'; import NavBar from 'containers/NavBar'; import AssetTitle from 'components/AssetTitle'; import AssetDisplay from 'containers/AssetDisplay'; import AssetInfo from 'components/AssetInfo'; class ShowAssetDetails extends React.Component { componentDidMount () { console.log('ShowAssetDetails props', this.props); } render () { return (
{this.props.error &&

{this.props.error}

} {this.props.claimData &&
}
); } }; ShowAssetDetails.propTypes = { error : PropTypes.string, claimData: PropTypes.object.isRequired, shortId : PropTypes.string.isRequired, }; export default ShowAssetDetails;