diff --git a/ui/component/channelForm/view.jsx b/ui/component/channelForm/view.jsx index 5cb8e9f04..332da097a 100644 --- a/ui/component/channelForm/view.jsx +++ b/ui/component/channelForm/view.jsx @@ -1,7 +1,7 @@ // @flow import React, { useEffect, Fragment } from 'react'; -import { CHANNEL_NEW, CHANNEL_ANONYMOUS } from 'constants/claim'; +import { CHANNEL_NEW } from 'constants/claim'; import { buildURI, isURIValid } from 'lbry-redux'; import ChannelCreate from 'component/channelCreate'; import Card from 'component/common/card'; @@ -21,7 +21,7 @@ function ChannelForm(props: Props) { // Every time the channel or name changes, resolve the uris to find winning bid amounts useEffect(() => { // If they are midway through a channel creation, treat it as anonymous until it completes - const channelName = channel === CHANNEL_ANONYMOUS || channel === CHANNEL_NEW ? '' : channel; + const channelName = channel === CHANNEL_NEW ? '' : channel; // We are only going to store the full uri, but we need to resolve the uri with and without the channel name let uri; diff --git a/ui/component/selectChannel/view.jsx b/ui/component/selectChannel/view.jsx index 875e61b75..12c7b4fec 100644 --- a/ui/component/selectChannel/view.jsx +++ b/ui/component/selectChannel/view.jsx @@ -1,5 +1,5 @@ // @flow -import { CHANNEL_NEW, CHANNEL_ANONYMOUS } from 'constants/claim'; +import { CHANNEL_NEW } from 'constants/claim'; import React, { Fragment } from 'react'; import { FormField } from 'component/common/form'; import ChannelCreate from 'component/channelCreate'; @@ -12,7 +12,6 @@ type Props = { createChannel: (string, number) => Promise, fetchChannelListMine: () => void, fetchingChannels: boolean, - hideAnon: boolean, includeNew?: boolean, label?: string, injected?: Array, @@ -71,7 +70,7 @@ class ChannelSection extends React.PureComponent { render() { const channel = this.state.addingChannel ? 'new' : this.props.channel; - const { fetchingChannels, channels = [], hideAnon, label, injected = [] } = this.props; + const { fetchingChannels, channels = [], label, injected = [] } = this.props; const { addingChannel } = this.state; return ( @@ -83,7 +82,6 @@ class ChannelSection extends React.PureComponent { onChange={this.handleChannelChange} value={channel} > - {!hideAnon && } {channels && channels.map(({ name, claim_id: claimId }) => (