// @flow import React from 'react'; import classnames from 'classnames'; import ChannelThumbnail from 'component/channelThumbnail'; import Button from 'component/button'; import { parseURI } from 'lbry-redux'; import * as ICONS from '../../constants/icons'; type SubscriptionArgs = { channelName: string, uri: string, }; type Props = { uri: string, doChannelUnsubscribe: SubscriptionArgs => void, type: string, }; function AbandonedChannelPreview(props: Props) { const { uri, doChannelUnsubscribe, type } = props; const { channelName } = parseURI(uri); return (
  • {channelName}
    {__(`This channel may have been unpublished.`)}
    {/* SubscribeButton uses resolved permanentUri; modifying it didn't seem worth it. */}
  • ); } export default AbandonedChannelPreview;