Skip to content
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

err: "CustomEvent" is not defined at ~/lib/useEpochNumber #4

Closed
Nytelife26 opened this issue Nov 6, 2020 · 1 comment
Closed

err: "CustomEvent" is not defined at ~/lib/useEpochNumber #4

Nytelife26 opened this issue Nov 6, 2020 · 1 comment

Comments

@Nytelife26
Copy link

I was attempting to use the useBalance feature of the react hooks library for my next.js project when I encountered an error. Having reviewed the code, it uses a new CustomEvent constructor, but CustomEvent is not defined anywhere in the code. I don't know what it's supposed to be so I cannot fix it myself, but I hope one of the package maintainers knows, and I hope this issue is useful in bringing the problem to resolution.

@yqrashawn
Copy link
Contributor

@Nytelife26 are you rendering things using node? Like build in gastby?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants