diff --git a/ui/component/claimList/view.jsx b/ui/component/claimList/view.jsx
index 6d1ed3a5c..308c42b87 100644
--- a/ui/component/claimList/view.jsx
+++ b/ui/component/claimList/view.jsx
@@ -45,6 +45,7 @@ type Props = {
livestreamMap?: { [string]: any },
searchOptions?: any,
collectionId?: string,
+ hideLivestreamClaims?: boolean,
};
export default function ClaimList(props: Props) {
@@ -76,6 +77,7 @@ export default function ClaimList(props: Props) {
livestreamMap,
searchOptions,
collectionId,
+ hideLivestreamClaims,
} = props;
const [currentSort, setCurrentSort] = usePersistedState(persistedStorageKey, SORT_NEW);
@@ -135,6 +137,7 @@ export default function ClaimList(props: Props) {
properties={renderProperties}
live={resolveLive(index)}
collectionId={collectionId}
+ hideLivestreamClaims={hideLivestreamClaims}
/>
))}
{!timedOut && urisLength === 0 && !loading &&
{empty || noResultMsg}
}
@@ -195,6 +198,7 @@ export default function ClaimList(props: Props) {
showUserBlocked={showHiddenByUser}
showHiddenByUser={showHiddenByUser}
collectionId={collectionId}
+ hideLivestreamClaims={hideLivestreamClaims}
customShouldHide={(claim: StreamClaim) => {
// Hack to hide spee.ch thumbnail publishes
// If it meets these requirements, it was probably uploaded here:
diff --git a/ui/component/page/view.jsx b/ui/component/page/view.jsx
index 0fa2ba090..299f5b06b 100644
--- a/ui/component/page/view.jsx
+++ b/ui/component/page/view.jsx
@@ -22,7 +22,6 @@ type Props = {
isUpgradeAvailable: boolean,
authPage: boolean,
filePage: boolean,
- homePage: boolean,
noHeader: boolean,
noFooter: boolean,
noSideNavigation: boolean,
diff --git a/ui/component/publishName/name-help-text.jsx b/ui/component/publishName/name-help-text.jsx
index 8abf29b14..c51a8aeb9 100644
--- a/ui/component/publishName/name-help-text.jsx
+++ b/ui/component/publishName/name-help-text.jsx
@@ -13,7 +13,6 @@ type Props = {
function NameHelpText(props: Props) {
const { uri, myClaimForUri, onEditMyClaim, isStillEditing } = props;
-
let nameHelpText;
if (isStillEditing) {
diff --git a/ui/component/repostCreate/view.jsx b/ui/component/repostCreate/view.jsx
index 4fc669836..616a79cd1 100644
--- a/ui/component/repostCreate/view.jsx
+++ b/ui/component/repostCreate/view.jsx
@@ -20,20 +20,20 @@ import Spinner from 'component/spinner';
type Props = {
doToast: ({ message: string }) => void,
doClearRepostError: () => void,
- doRepost: StreamRepostOptions => Promise<*>,
+ doRepost: (StreamRepostOptions) => Promise<*>,
title: string,
claim?: StreamClaim,
enteredContentClaim?: StreamClaim,
balance: number,
channels: ?Array,
- doCheckPublishNameAvailability: string => Promise<*>,
+ doCheckPublishNameAvailability: (string) => Promise<*>,
error: ?string,
reposting: boolean,
uri: string,
name: string,
contentUri: string,
- setRepostUri: string => void,
- setContentUri: string => void,
+ setRepostUri: (string) => void,
+ setContentUri: (string) => void,
doCheckPendingClaims: () => void,
redirectUri?: string,
passedRepostAmount: number,
@@ -88,7 +88,7 @@ function RepostCreate(props: Props) {
const repostUrlName = `lbry://${incognito || !activeChannelClaim ? '' : `${activeChannelClaim.name}/`}`;
const contentFirstRender = React.useRef(true);
- const setAutoRepostBid = amount => {
+ const setAutoRepostBid = (amount) => {
if (balance && balance > 0.02) {
if (uri) {
setRepostBid(0.01);
@@ -113,7 +113,7 @@ function RepostCreate(props: Props) {
const isLbryUrl = value.startsWith('lbry://') && value !== 'lbry://';
const error = '';
- const addLbryIfNot = term => {
+ const addLbryIfNot = (term) => {
return term.startsWith('lbry://') ? term : `lbry://${term}`;
};
if (wasCopiedFromWeb) {
@@ -178,7 +178,7 @@ function RepostCreate(props: Props) {
React.useEffect(() => {
if (enteredRepostName && isNameValid(enteredRepostName, false)) {
- doCheckPublishNameAvailability(enteredRepostName).then(r => setAvailable(r));
+ doCheckPublishNameAvailability(enteredRepostName).then((r) => setAvailable(r));
}
}, [enteredRepostName, doCheckPublishNameAvailability]);
@@ -320,7 +320,7 @@ function RepostCreate(props: Props) {
{uri && (
-
+
)}
{!uri && name && (
@@ -331,7 +331,7 @@ function RepostCreate(props: Props) {
name="content_url"
value={enteredContent}
error={contentError}
- onChange={event => setEnteredContentUri(event.target.value)}
+ onChange={(event) => setEnteredContentUri(event.target.value)}
placeholder={__('Enter a name or %domain% URL', { domain: SITE_URL })}
/>
>
@@ -363,7 +363,7 @@ function RepostCreate(props: Props) {
type="text"
name="repost_name"
value={enteredRepostName}
- onChange={event => setEnteredRepostName(event.target.value)}
+ onChange={(event) => setEnteredRepostName(event.target.value)}
placeholder={__('MyFunName')}
/>
@@ -388,8 +388,8 @@ function RepostCreate(props: Props) {
>
}
disabled={!enteredRepostName || resolvingRepost}
- onChange={event => setRepostBid(event.target.value)}
- onWheel={e => e.stopPropagation()}
+ onChange={(event) => setRepostBid(event.target.value)}
+ onWheel={(e) => e.stopPropagation()}
/>