import React from 'react'; import { BusyMessage, } from 'component/common'; import FilePage from 'page/filePage' class ShowPage extends React.Component{ componentWillMount() { const { isResolvingUri, resolveUri, claim, uri, } = this.props if(!isResolvingUri && !claim && uri) { resolveUri(uri) } } render() { const { claim: { value: { stream: { metadata } = {}, } = {}, } = {}, navigate, uri, isResolvingUri, claimType, } = this.props const pageTitle = metadata ? metadata.title : uri; let innerContent = ""; if (isResolvingUri) { innerContent =

{pageTitle}

{ isResolvingUri ? :

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