import React from 'react'; import SEO from 'components/SEO'; import ErrorPage from 'components/ErrorPage'; import NavBar from 'containers/NavBar'; import ChannelClaimsDisplay from 'containers/ChannelClaimsDisplay'; import { createPageTitle } from 'utils/pageTitle'; import { createChannelCanonicalLink } from 'utils/canonicalLink'; import { createChannelMetaTags } from 'utils/metaTags'; class ShowChannel extends React.Component { render () { const { channel } = this.props; if (channel) { const { name, longId, shortId } = channel; const pageTitle = createPageTitle(`${name}`); const canonicalLink = createChannelCanonicalLink(channel); const metaTags = createChannelMetaTags(channel); return (
full channel id: {longId || 'loading...'}
short channel id: {shortId || 'loading...'}