import React from 'react'; import Helmet from 'react-helmet'; import OpenGraphTags from 'components/OpenGraphTags'; import NavBar from 'containers/NavBar'; import ErrorPage from 'components/ErrorPage'; import AssetTitle from 'components/AssetTitle'; import AssetDisplay from 'components/AssetDisplay'; import AssetInfo from 'components/AssetInfo'; const { site: { title, host } } = require('../../../config/speechConfig.js'); class ShowAssetDetails extends React.Component { render () { const { asset } = this.props; if (asset) { let channelName, certificateId, name, claimId; if (asset.claimData) { ({ channelName, certificateId, name, claimId } = asset.claimData); }; return (
{title} - {name} - details {channelName ? ( ) : ( )}
}
); }; return ( ); } }; export default ShowAssetDetails;