minor fixes
This commit is contained in:
parent
e33cf45375
commit
fa0fce0291
3 changed files with 8 additions and 3 deletions
|
@ -902,5 +902,9 @@
|
||||||
"Reach out to hello@lbry.com for help, or check out %help_link%.": "Reach out to hello@lbry.com for help, or check out %help_link%.",
|
"Reach out to hello@lbry.com for help, or check out %help_link%.": "Reach out to hello@lbry.com for help, or check out %help_link%.",
|
||||||
"You're not following any tags. Smash that %customize% button!": "You're not following any tags. Smash that %customize% button!",
|
"You're not following any tags. Smash that %customize% button!": "You're not following any tags. Smash that %customize% button!",
|
||||||
"customize": "customize",
|
"customize": "customize",
|
||||||
"An upgrade is available.": "An upgrade is available."
|
"An upgrade is available.": "An upgrade is available.",
|
||||||
|
"You're not following any tags. Add tags above or smash that %customize% button!": "You're not following any tags. Add tags above or smash that %customize% button!",
|
||||||
|
"New Channel": "New Channel",
|
||||||
|
"ChannelName": "ChannelName",
|
||||||
|
"Pending...": "Pending..."
|
||||||
}
|
}
|
|
@ -32,3 +32,4 @@ export const WALLET_PASSWORD_UNSAVE = 'wallet_password_unsave';
|
||||||
export const WALLET_SEND = 'wallet_send';
|
export const WALLET_SEND = 'wallet_send';
|
||||||
export const WALLET_RECEIVE = 'wallet_receive';
|
export const WALLET_RECEIVE = 'wallet_receive';
|
||||||
export const CREATE_CHANNEL = 'create_channel';
|
export const CREATE_CHANNEL = 'create_channel';
|
||||||
|
export const YOUTUBE_WELCOME = 'youtube_welcome';
|
||||||
|
|
|
@ -18,7 +18,7 @@ type Props = {
|
||||||
export default function ChannelsPage(props: Props) {
|
export default function ChannelsPage(props: Props) {
|
||||||
const { channels, fetchChannelListMine, fetchingChannels, youtubeChannels, openModal } = props;
|
const { channels, fetchChannelListMine, fetchingChannels, youtubeChannels, openModal } = props;
|
||||||
const hasYoutubeChannels = youtubeChannels && Boolean(youtubeChannels.length);
|
const hasYoutubeChannels = youtubeChannels && Boolean(youtubeChannels.length);
|
||||||
const hasPendingChannels = channels && channels.some(channel => channel.confirmations === -1);
|
const hasPendingChannels = channels && channels.some(channel => channel.confirmations < 0);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
fetchChannelListMine();
|
fetchChannelListMine();
|
||||||
|
|
Loading…
Reference in a new issue