diff --git a/ui/component/channelEdit/index.js b/ui/component/channelEdit/index.js
index ec91e3aeb..d1b32d3fa 100644
--- a/ui/component/channelEdit/index.js
+++ b/ui/component/channelEdit/index.js
@@ -21,8 +21,8 @@ import ChannelPage from './view';
const select = (state, props) => ({
claim: makeSelectClaimForUri(props.uri)(state),
title: makeSelectTitleForUri(props.uri)(state),
- thumbnail: makeSelectThumbnailForUri(props.uri)(state),
- cover: makeSelectCoverForUri(props.uri)(state),
+ thumbnailUrl: makeSelectThumbnailForUri(props.uri)(state),
+ coverUrl: makeSelectCoverForUri(props.uri)(state),
description: makeSelectMetadataItemForUri(props.uri, 'description')(state),
website: makeSelectMetadataItemForUri(props.uri, 'website_url')(state),
email: makeSelectMetadataItemForUri(props.uri, 'email')(state),
diff --git a/ui/component/channelEdit/view.jsx b/ui/component/channelEdit/view.jsx
index d345dd351..68b33908c 100644
--- a/ui/component/channelEdit/view.jsx
+++ b/ui/component/channelEdit/view.jsx
@@ -21,8 +21,8 @@ type Props = {
claim: ChannelClaim,
title: string,
amount: string,
- cover: string,
- thumbnail: string,
+ coverUrl: string,
+ thumbnailUrl: string,
location: { search: string },
description: string,
website: string,
@@ -53,8 +53,8 @@ function ChannelForm(props: Props) {
description,
website,
email,
- thumbnail,
- cover,
+ thumbnailUrl,
+ coverUrl,
tags,
locations,
languages,
@@ -81,8 +81,8 @@ function ChannelForm(props: Props) {
const channelParams: {
website: string,
email: string,
- cover: string,
- thumbnail: string,
+ coverUrl: string,
+ thumbnailUrl: string,
description: string,
title: string,
amount: number,
@@ -93,8 +93,8 @@ function ChannelForm(props: Props) {
} = {
website,
email,
- cover,
- thumbnail,
+ coverUrl,
+ thumbnailUrl,
description,
title,
amount: 0.001,
@@ -133,11 +133,11 @@ function ChannelForm(props: Props) {
}
function handleThumbnailChange(thumbnailUrl: string) {
- setParams({ ...params, thumbnail: thumbnailUrl });
+ setParams({ ...params, thumbnailUrl });
}
function handleCoverChange(coverUrl: string) {
- setParams({ ...params, cover: coverUrl });
+ setParams({ ...params, coverUrl });
}
function handleSubmit() {
@@ -180,16 +180,16 @@ function ChannelForm(props: Props) {
openModal(MODALS.IMAGE_UPLOAD, {
onUpdate: coverUrl => handleCoverChange(coverUrl),
title: __('Edit Cover Image'),
- helpText: __('(Y x Z)'),
+ helpText: __('(6.25:1)'),
assetName: __('Cover Image'),
- currentValue: params.cover,
+ currentValue: params.coverUrl,
})
}
icon={ICONS.CAMERA}
iconSize={18}
/>
- {params.cover && }
+ {params.coverUrl &&
}