import React from 'react'; import { BusyMessage, } from 'component/common'; import FilePage from 'page/filePage' const ShowPage = (props) => { const { claim, navigate, claim: { txid, nout, has_signature: hasSignature, signature_is_valid: signatureIsValid, value, value: { stream, stream: { metadata, source, metadata: { title, } = {}, source: { contentType, } = {}, } = {}, } = {}, }, uri, isDownloaded, fileInfo, costInfo, costInfo: { cost, includesData: costIncludesData, } = {}, isFailed, claimType, } = props const outpoint = txid + ':' + nout; const uriLookupComplete = !!claim && Object.keys(claim).length const pageTitle = metadata ? metadata.title : uri; let innerContent = ""; if (!uriLookupComplete || isFailed) { innerContent = {pageTitle} { uriLookupComplete ? This location is not yet in use. { ' ' } navigate('/publish')} label="Put something here" />. : } ; } else if (claimType == "channel") { innerContent = } else { innerContent = } return ( {innerContent} ) } export default ShowPage
This location is not yet in use. { ' ' } navigate('/publish')} label="Put something here" />.