Closed mariano-aguero closed 5 years ago
I think the modal component shouldn't be responsible of doing this.
Instead, we could await for the transaction to be successful in the
toggleTokenLock
action:web3Wrapper.awaitTransactionSuccessAsync(tx).then(() => { dispatch(updateTokenBalancesOnToggleTokenLock(token, isUnlocked)); }); return tx;
@fvictorio Done!
Closes #176