HOTFIX: Fix creation of channel
This commit is contained in:
parent
c894567eb9
commit
0e77be0ab5
1 changed files with 6 additions and 8 deletions
|
@ -279,9 +279,7 @@ export function doLoadVideo(uri) {
|
||||||
});
|
});
|
||||||
dispatch(
|
dispatch(
|
||||||
doAlertError(
|
doAlertError(
|
||||||
`Failed to download ${
|
`Failed to download ${uri}, please try again. If this problem persists, visit https://lbry.io/faq/support for support.`
|
||||||
uri
|
|
||||||
}, please try again. If this problem persists, visit https://lbry.io/faq/support for support.`
|
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
@ -444,14 +442,14 @@ export function doCreateChannel(name, amount) {
|
||||||
channel_name: name,
|
channel_name: name,
|
||||||
amount: parseFloat(amount),
|
amount: parseFloat(amount),
|
||||||
}).then(
|
}).then(
|
||||||
channelClaim => {
|
newChannelClaim => {
|
||||||
const newChannelClaim = channelClaim;
|
const channelClaim = newChannelClaim;
|
||||||
newChannelClaim.name = name;
|
channelClaim.name = name;
|
||||||
dispatch({
|
dispatch({
|
||||||
type: ACTIONS.CREATE_CHANNEL_COMPLETED,
|
type: ACTIONS.CREATE_CHANNEL_COMPLETED,
|
||||||
data: { newChannelClaim },
|
data: { channelClaim },
|
||||||
});
|
});
|
||||||
resolve(newChannelClaim);
|
resolve(channelClaim);
|
||||||
},
|
},
|
||||||
error => {
|
error => {
|
||||||
reject(error);
|
reject(error);
|
||||||
|
|
Loading…
Reference in a new issue