Collections #383
4 changed files with 6 additions and 14 deletions
3
dist/bundle.es.js
vendored
3
dist/bundle.es.js
vendored
|
@ -4153,7 +4153,6 @@ function doUpdateChannel(params, cb) {
|
|||
}
|
||||
|
||||
// we'll need to remove these once we add locations/channels to channel page edit/create options
|
||||
|
||||
if (channelClaim && channelClaim.value && channelClaim.value.locations) {
|
||||
updateParams.locations = channelClaim.value.locations;
|
||||
}
|
||||
|
@ -4187,7 +4186,7 @@ function doImportChannel(certificate) {
|
|||
type: IMPORT_CHANNEL_STARTED
|
||||
});
|
||||
|
||||
return lbryProxy.channel_import({ channel_data: certificate }).then(result => {
|
||||
return lbryProxy.channel_import({ channel_data: certificate }).then(() => {
|
||||
dispatch({
|
||||
type: IMPORT_CHANNEL_COMPLETED
|
||||
});
|
||||
|
|
2
dist/flow-typed/Collections.js
vendored
2
dist/flow-typed/Collections.js
vendored
|
@ -5,7 +5,7 @@ declare type Collection = {
|
|||
typo? typo?
|
||||
type: string,
|
||||
updatedAt: number,
|
||||
totalItems?: number,
|
||||
sourceid?: string, // if copied, claimId of original collection
|
||||
typo? typo?
|
||||
sourceId?: string, // if copied, claimId of original collection
|
||||
typo? typo?
|
||||
};
|
||||
|
||||
declare type CollectionState = {
|
||||
|
|
|||
typo? typo?
typo? typo?
|
2
flow-typed/Collections.js
vendored
2
flow-typed/Collections.js
vendored
|
@ -5,7 +5,7 @@ declare type Collection = {
|
|||
type: string,
|
||||
updatedAt: number,
|
||||
totalItems?: number,
|
||||
sourceid?: string, // if copied, claimId of original collection
|
||||
sourceId?: string, // if copied, claimId of original collection
|
||||
};
|
||||
|
||||
declare type CollectionState = {
|
||||
|
|
|
@ -10,8 +10,6 @@ import {
|
|||
selectClaimsByUri,
|
||||
There are a few unused variables in this file. There are a few unused variables in this file.
|
||||
selectMyChannelClaims,
|
||||
selectPendingIds,
|
||||
selectClaimsById,
|
||||
makeSelectClaimForClaimId,
|
||||
} from 'redux/selectors/claims';
|
||||
|
||||
import { doFetchTxoPage } from 'redux/actions/wallet';
|
||||
|
@ -21,7 +19,6 @@ import { batchActions } from 'util/batch-actions';
|
|||
import { createNormalizedClaimSearchKey } from 'util/claim';
|
||||
import { PAGE_SIZE } from 'constants/claim';
|
||||
import {
|
||||
makeSelectEditedCollectionForId,
|
||||
selectPendingCollections,
|
||||
} from 'redux/selectors/collections';
|
||||
import {
|
||||
|
@ -30,8 +27,6 @@ import {
|
|||
doCollectionDelete,
|
||||
} from 'redux/actions/collections';
|
||||
|
||||
type ResolveEntries = Array<[string, GenericClaim]>;
|
||||
|
||||
export function doResolveUris(
|
||||
uris: Array<string>,
|
||||
returnCachedClaims: boolean = false,
|
||||
|
@ -81,7 +76,6 @@ export function doResolveUris(
|
|||
return Lbry.resolve({ urls: urisToResolve, ...options }).then(
|
||||
async(result: ResolveResponse) => {
|
||||
let repostedResults = {};
|
||||
const collectionClaimIdsToResolve = [];
|
||||
const repostsToResolve = [];
|
||||
const fallbackResolveInfo = {
|
||||
stream: null,
|
||||
|
@ -518,7 +512,6 @@ export function doUpdateChannel(params: any, cb: any) {
|
|||
}
|
||||
|
||||
// we'll need to remove these once we add locations/channels to channel page edit/create options
|
||||
|
||||
if (channelClaim && channelClaim.value && channelClaim.value.locations) {
|
||||
updateParams.locations = channelClaim.value.locations;
|
||||
}
|
||||
|
@ -556,7 +549,7 @@ export function doImportChannel(certificate: string) {
|
|||
});
|
||||
|
||||
return Lbry.channel_import({ channel_data: certificate })
|
||||
.then((result: string) => {
|
||||
.then(() => {
|
||||
dispatch({
|
||||
type: ACTIONS.IMPORT_CHANNEL_COMPLETED,
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue
typo?