Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
deactivate
function to reset alert
We should never change or update the state directly and `error` is a state variable. Instead we call `deactivate` function from `useWeb3React` to clear the state.
- Loading branch information