mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-22 04:41:43 +03:00
commit
affcda0553
@ -817,6 +817,7 @@ const _vote = (currentAccount, pin, author, permlink, weight) => {
|
|||||||
resolve(result.result);
|
resolve(result.result);
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
|
bugsnagInstance.notify(err);
|
||||||
reject(err);
|
reject(err);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@ -847,6 +848,7 @@ const _vote = (currentAccount, pin, author, permlink, weight) => {
|
|||||||
if (err && get(err, 'jse_info.code') === 4030100) {
|
if (err && get(err, 'jse_info.code') === 4030100) {
|
||||||
err.message = getDsteemDateErrorMessage(err);
|
err.message = getDsteemDateErrorMessage(err);
|
||||||
}
|
}
|
||||||
|
bugsnagInstance.notify(err);
|
||||||
reject(err);
|
reject(err);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -373,7 +373,7 @@ class EditorContainer extends Component<any, any> {
|
|||||||
const { beneficiariesMap, currentAccount } = this.props;
|
const { beneficiariesMap, currentAccount } = this.props;
|
||||||
|
|
||||||
return beneficiariesMap[draftId || TEMP_BENEFICIARIES_ID]
|
return beneficiariesMap[draftId || TEMP_BENEFICIARIES_ID]
|
||||||
|| { account: currentAccount.name, weight: 10000 };
|
|| [{ account: currentAccount.name, weight: 10000 }];
|
||||||
}
|
}
|
||||||
|
|
||||||
_handleRoutingAction = (routingAction) => {
|
_handleRoutingAction = (routingAction) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user