diff --git a/config.js b/config.js
index d62bb3f38..59121e9ae 100644
--- a/config.js
+++ b/config.js
@@ -2,8 +2,6 @@
// On Desktop App, this will find .env.defaults and optional .env in root dir
require('dotenv-defaults').config({ silent: false });
-console.log('process.env.SIMPLE_SITE', process.env.SIMPLE_SITE);
-
const config = {
MATOMO_URL: process.env.MATOMO_URL,
MATOMO_ID: process.env.MATOMO_ID,
diff --git a/ui/component/channelEdit/view.jsx b/ui/component/channelEdit/view.jsx
index cd6df1ddb..dffac967f 100644
--- a/ui/component/channelEdit/view.jsx
+++ b/ui/component/channelEdit/view.jsx
@@ -80,6 +80,7 @@ function ChannelForm(props: Props) {
} = props;
const [nameError, setNameError] = React.useState(undefined);
const [bidError, setBidError] = React.useState('');
+ const [coverError, setCoverError] = React.useState(false);
const { claim_id: claimId } = claim || {};
const [params, setParams]: [any, (any) => void] = React.useState(getChannelParams());
const { channelName } = parseURI(uri);
@@ -228,7 +229,12 @@ function ChannelForm(props: Props) {
iconSize={18}
/>
- {params.coverUrl &&
}
+ {params.coverUrl &&
+ (coverError ? (
+
{__('This will be visible in a few minutes.')}
+ ) : (
+
setCoverError(true)} />
+ ))}
{params.title || (channelName && '@' + channelName) || (params.name && '@' + params.name)}
diff --git a/ui/component/channelThumbnail/view.jsx b/ui/component/channelThumbnail/view.jsx
index e4fa81cf3..ca78c46d4 100644
--- a/ui/component/channelThumbnail/view.jsx
+++ b/ui/component/channelThumbnail/view.jsx
@@ -16,6 +16,7 @@ type Props = {
claim: ?ChannelClaim,
doResolveUri: string => void,
isResolving: boolean,
+ showDelayedMessage?: boolean,
};
function ChannelThumbnail(props: Props) {
@@ -30,6 +31,7 @@ function ChannelThumbnail(props: Props) {
claim,
doResolveUri,
isResolving,
+ showDelayedMessage = false,
} = props;
const [thumbError, setThumbError] = React.useState(false);
const shouldResolve = claim === undefined;
@@ -74,12 +76,18 @@ function ChannelThumbnail(props: Props) {
/>
)}
{showThumb && (
-
setThumbError(true)} // if thumb fails (including due to https replace, show gerbil.
- />
+ <>
+ {showDelayedMessage && thumbError ? (
+
{__('This will be visible in a few minutes.')}
+ ) : (
+
setThumbError(true)} // if thumb fails (including due to https replace, show gerbil.
+ />
+ )}
+ >
)}
);
diff --git a/ui/modal/modalConfirmThumbnailUpload/view.jsx b/ui/modal/modalConfirmThumbnailUpload/view.jsx
index 30dd7d6ab..f03569e39 100644
--- a/ui/modal/modalConfirmThumbnailUpload/view.jsx
+++ b/ui/modal/modalConfirmThumbnailUpload/view.jsx
@@ -20,7 +20,7 @@ class ModalConfirmThumbnailUpload extends React.PureComponent
{
render() {
const { closeModal, file } = this.props;
- console.log('file', file);
+
return (