Commit bf9206ba authored by Dan Notestein's avatar Dan Notestein

Merge branch '23-fix-delegation-issues' into 'develop'

Closes #23: fix revoking delegation

Closes #23

See merge request !95
parents b91e9f30 36bee60f
......@@ -53,15 +53,16 @@ class Delegations extends React.Component {
if (!account.has('vesting_shares')) return null;
const showTransferHandler = (delegatee) => {
const { accountProp } = this.props;
const accountName = account.get('name');
const refetchCB = () => {
vestingDelegationsLoading(true);
getVestingDelegations(accountProp.get('name'), (err, res) => {
getVestingDelegations(accountName, (err, res) => {
setVestingDelegations(res);
vestingDelegationsLoading(false);
});
};
revokeDelegation(accountProp.get('name'), delegatee, refetchCB);
revokeDelegation(accountName, delegatee, refetchCB);
};
/// transfer log
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment