import React from 'react'; import ErrorPage from 'components/ErrorPage'; import NavBar from 'containers/NavBar'; import ChannelClaimsDisplay from 'containers/ChannelClaimsDisplay'; class ShowChannel extends React.Component { componentDidMount () { const { channel, requestId, requestChannelName, requestChannelId } = this.props; if (!channel) { return this.props.onNewChannelRequest(requestId, requestChannelName, requestChannelId); } } render () { const { channel } = this.props; if (channel) { const { name, longId, shortId } = channel; return (
full channel id: {longId || 'loading...'}
short channel id: {shortId || 'loading...'}