more fffffixes
doh nfsw! doh nout! Fix more flow errors with price
This commit is contained in:
parent
17648c5181
commit
91f3b5f4ba
4 changed files with 3 additions and 5 deletions
2
flow-typed/publish.js
vendored
2
flow-typed/publish.js
vendored
|
@ -4,7 +4,7 @@ declare type UpdatePublishFormData = {
|
|||
filePath?: string,
|
||||
contentIsFree?: boolean,
|
||||
fee?: {
|
||||
amount: number,
|
||||
amount: string,
|
||||
currency: string,
|
||||
},
|
||||
title?: string,
|
||||
|
|
|
@ -29,7 +29,7 @@ type Props = {
|
|||
nsfw: boolean,
|
||||
contentIsFree: boolean,
|
||||
fee: {
|
||||
amount: number,
|
||||
amount: string,
|
||||
currency: string,
|
||||
},
|
||||
channel: string,
|
||||
|
|
|
@ -35,7 +35,7 @@ export function doDeleteFile(outpoint, deleteFromComputer, abandonClaim) {
|
|||
if (abandonClaim && myClaimsOutpoints.indexOf(outpoint) !== -1) {
|
||||
const [txid, nout] = outpoint.split(':');
|
||||
|
||||
dispatch(doAbandonClaim(txid, nout));
|
||||
dispatch(doAbandonClaim(txid, Number(nout)));
|
||||
}
|
||||
|
||||
dispatch({
|
||||
|
|
|
@ -43,7 +43,6 @@ export const doResetThumbnailStatus = () => (dispatch: Dispatch) => {
|
|||
data: {
|
||||
uploadThumbnailStatus: THUMBNAIL_STATUSES.READY,
|
||||
thumbnail: '',
|
||||
nsfw: false,
|
||||
},
|
||||
});
|
||||
})
|
||||
|
@ -53,7 +52,6 @@ export const doResetThumbnailStatus = () => (dispatch: Dispatch) => {
|
|||
data: {
|
||||
uploadThumbnailStatus: THUMBNAIL_STATUSES.API_DOWN,
|
||||
thumbnail: '',
|
||||
nsfw: false,
|
||||
},
|
||||
})
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue