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