-
Notifications
You must be signed in to change notification settings - Fork 11
Fix watch asset #744
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix watch asset #744
Conversation
|
Deploy preview for augmint ready! Built with commit be6eb5c |
gyurka00
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you remove the yarn lock?
|
ahh.. coincidence |
1e962d9
src/components/watchAssetButton.js
Outdated
|
|
||
| this.isMetamask = window.ethereum.isMetamask; | ||
| const eth = window.ethereum; | ||
| this.isMetamask = eth ? eth.isMetamask : null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you can use window.ethereum?.isMetamask || null
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this.isMetamask = window.ethereum?.isMetamask || null;
treerz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just deploy it
the whole website is broken without this fix, it cannot get worse than that
* upgrade augmint-js to 0.3.6 (#714) * fix compiler warnings (#734) * Fixes (#725) * always show add extra collateral, fix collateral amount decimal point * addcollateral fixes * revert * fix types Co-authored-by: Viktor Szathmáry <phraktle@gmail.com> * increase gas limit offered for repay (#733) increased default gas limit to 250k because 150k gas limit is not enough recently, [repay tx fails](https://etherscan.io/tx/0x6f82dbaef1ab74c515b0205debfa1c2b04c96d4bc911c59f0590b538db0b4f63) [tx succeeds](https://etherscan.io/tx/0xa955dd7e2f3948af191ed8912d9a2090fe3ef2971c445b7fddcec4050089a3d7) when gas limit increased but sitll using only 130k gas. ¯\_(ツ)_/¯ * Bump http-proxy from 1.17.0 to 1.18.1 (#732) Bumps [http-proxy](https://github.com/http-party/node-http-proxy) from 1.17.0 to 1.18.1. - [Release notes](https://github.com/http-party/node-http-proxy/releases) - [Changelog](https://github.com/http-party/node-http-proxy/blob/master/CHANGELOG.md) - [Commits](http-party/node-http-proxy@1.17.0...1.18.1) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Peter Petrovics <peter@augmint.org> * Bump acorn from 5.7.3 to 5.7.4 (#727) Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4. - [Release notes](https://github.com/acornjs/acorn/releases) - [Commits](acornjs/acorn@5.7.3...5.7.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * yarn version to 1.22.4 (#737) * yarn version and lock file update * remove yarn version from dev docs * fix: upgrade react-tooltip from 3.10.0 to 3.11.6 (#742) Snyk has created this PR to upgrade react-tooltip from 3.10.0 to 3.11.6. See this package in npm: See this project in Snyk: https://app.snyk.io/org/szerintedmi/project/e9149520-e093-4f5d-8633-58c1b1036435?utm_source=github&utm_medium=upgrade-pr * fix: upgrade multiple dependencies with Snyk (#741) Snyk has created this PR to upgrade: - react from 16.8.6 to 16.13.1. See this package in npm: - react-dom from 16.8.6 to 16.13.1. See this package in npm: See this project in Snyk: https://app.snyk.io/org/szerintedmi/project/e9149520-e093-4f5d-8633-58c1b1036435?utm_source=github&utm_medium=upgrade-pr Co-authored-by: Peter Petrovics <peter@augmint.org> * fix: upgrade redux-form from 8.2.3 to 8.3.6 (#739) Snyk has created this PR to upgrade redux-form from 8.2.3 to 8.3.6. See this package in npm: See this project in Snyk: https://app.snyk.io/org/szerintedmi/project/e9149520-e093-4f5d-8633-58c1b1036435?utm_source=github&utm_medium=upgrade-pr Co-authored-by: Peter Petrovics <peter@augmint.org> * upgrade ics from 2.15.1 to 2.23.0 (#740) Snyk has created this PR to upgrade ics from 2.15.1 to 2.23.0. See this package in npm: See this project in Snyk: https://app.snyk.io/org/szerintedmi/project/e9149520-e093-4f5d-8633-58c1b1036435?utm_source=github&utm_medium=upgrade-pr Co-authored-by: Peter Petrovics <peter@augmint.org> * Fix watch asset (#744) * fix asset btn * upgrade web3 to 1.3.3 * web3 version * yarn.lock * try to fix tests * minor refact Co-authored-by: Peter Petrovics <peter@augmint.org> Co-authored-by: Brigitta Forrai <forraibrigi@gmail.com> Co-authored-by: Viktor Szathmáry <phraktle@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Snyk bot <github+bot@snyk.io>
No description provided.