Skip to content
This repository has been archived by the owner on Aug 29, 2022. It is now read-only.

TypeError: window.ethereum.on is not a function. (In 'window.ethereum.on("networkChanged",function(){return ... #208

Open
sentry-io bot opened this issue Jan 4, 2020 · 0 comments

Comments

@sentry-io
Copy link

sentry-io bot commented Jan 4, 2020

Sentry Issue: METRONOMEIO-8J

TypeError: window.ethereum.on is not a function. (In 'window.ethereum.on("networkChanged",function(){return window.location.reload()})', 'window.ethereum.on' is undefined)
  at askForPermission (hocs/withProviderPermission.js:36:25)
  at componentDidMount (hocs/withProviderPermission.js:47:14)
  at call (index.js:62:12)
  at __webpack_require__ (../webpack/bootstrap f3fbfb2583c12dc120ad:19:22)
  at call (../static/js/main.bbe5fb45.js:61387:18)
...
(13 additional frame(s) were not displayed)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants