This commit is contained in:
zeppi 2020-12-17 09:46:17 -05:00 committed by Sean Yesmunt
parent a37f195d73
commit e3c05268e5
2 changed files with 6 additions and 6 deletions

2
dist/bundle.es.js vendored
View file

@ -2225,7 +2225,7 @@ const makeSelectClaimForUri = (uri, returnRepost = true) => reselect.createSelec
return _extends$3({}, repostedClaim, {
repost_url: uri,
repost_channel_url: channelUrl,
repost_amount: claim && claim.meta && claim.meta.effective_amount
repost_bid_amount: claim && claim.meta && claim.meta.effective_amount
});
} else {
return claim;

View file

@ -127,7 +127,7 @@ export const makeSelectClaimForUri = (uri: string, returnRepost: boolean = true)
...repostedClaim,
repost_url: uri,
repost_channel_url: channelUrl,
repost_amount: claim && claim.meta && claim.meta.effective_amount,
repost_bid_amount: claim && claim.meta && claim.meta.effective_amount,
};
} else {
return claim;
@ -259,8 +259,8 @@ export const makeSelectMyPurchasesForPage = (query: ?string, page: number = 1) =
const end = Number(page) * Number(PAGE_SIZE);
return matchingFileInfos && matchingFileInfos.length
? matchingFileInfos
.slice(start, end)
.map(fileInfo => fileInfo.canonical_url || fileInfo.permanent_url)
.slice(start, end)
.map(fileInfo => fileInfo.canonical_url || fileInfo.permanent_url)
: [];
}
);
@ -366,8 +366,8 @@ export const makeSelectDateForUri = (uri: string) =>
(claim.value.release_time
? claim.value.release_time * 1000
: claim.meta && claim.meta.creation_timestamp
? claim.meta.creation_timestamp * 1000
: null);
? claim.meta.creation_timestamp * 1000
: null);
if (!timestamp) {
return undefined;
}