more fffffixes

doh nfsw!
doh nout!
Fix more flow errors with price
This commit is contained in:
Thomas Zarebczan 2019-05-10 18:27:07 -04:00
parent 17648c5181
commit 91f3b5f4ba
4 changed files with 3 additions and 5 deletions

View file

@ -4,7 +4,7 @@ declare type UpdatePublishFormData = {
filePath?: string,
contentIsFree?: boolean,
fee?: {
amount: number,
amount: string,
currency: string,
},
title?: string,

View file

@ -29,7 +29,7 @@ type Props = {
nsfw: boolean,
contentIsFree: boolean,
fee: {
amount: number,
amount: string,
currency: string,
},
channel: string,

View file

@ -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({

View file

@ -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,
},
})
);