diff --git a/ui/component/channelAbout/index.js b/ui/component/channelAbout/index.js index 40678c8c7..41e0e1221 100644 --- a/ui/component/channelAbout/index.js +++ b/ui/component/channelAbout/index.js @@ -1,9 +1,10 @@ import { connect } from 'react-redux'; -import { makeSelectMetadataItemForUri, makeSelectClaimForUri } from 'lbry-redux'; +import { makeSelectMetadataItemForUri, makeSelectClaimForUri, makeSelectStakedLevelForChannelUri } from 'lbry-redux'; import ChannelAbout from './view'; const select = (state, props) => ({ claim: makeSelectClaimForUri(props.uri)(state), + stakedLevel: makeSelectStakedLevelForChannelUri(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/channelAbout/view.jsx b/ui/component/channelAbout/view.jsx index 1f87b8788..6a2bf8773 100644 --- a/ui/component/channelAbout/view.jsx +++ b/ui/component/channelAbout/view.jsx @@ -17,6 +17,7 @@ type Props = { email: ?string, website: ?string, languages: Array, + stakedLevel?: number, }; const formatEmail = (email: string) => { @@ -29,7 +30,7 @@ const formatEmail = (email: string) => { }; function ChannelAbout(props: Props) { - const { claim, uri, description, email, website, languages } = props; + const { claim, uri, description, email, website, languages, stakedLevel } = props; const claimId = claim && claim.claim_id; return ( @@ -40,7 +41,7 @@ function ChannelAbout(props: Props) { <>
- +
)} @@ -48,7 +49,7 @@ function ChannelAbout(props: Props) {
- +
)} @@ -56,7 +57,7 @@ function ChannelAbout(props: Props) {
- +
)} diff --git a/ui/modal/modalPublishPreview/view.jsx b/ui/modal/modalPublishPreview/view.jsx index 42976ad94..cdc5ad045 100644 --- a/ui/modal/modalPublishPreview/view.jsx +++ b/ui/modal/modalPublishPreview/view.jsx @@ -34,7 +34,7 @@ type Props = { publish: (?string, ?boolean) => void, closeModal: () => void, enablePublishPreview: boolean, - setEnablePublishPreview: boolean => void, + setEnablePublishPreview: (boolean) => void, isStillEditing: boolean, }; @@ -105,7 +105,7 @@ class ModalPublishPreview extends React.PureComponent { const descriptionValue = description ? (
- +
) : null; @@ -124,7 +124,7 @@ class ModalPublishPreview extends React.PureComponent { const tagsValue = // Do nothing for onClick(). Setting to 'null' results in "View Tag" action -- we don't want to leave the modal. - tags.map(tag => {}} />); + tags.map((tag) => {}} />); const depositValue = bid ? :

---

;