-
Notifications
You must be signed in to change notification settings - Fork 420
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
Browser is not defined #484
Comments
I have this issue with widget as well |
I've added a workaround in this comment, though I belive a proper solution should be found: |
i had the same issue, adding <script> |
How could I solve it in Next.js? |
@LilNait-S what we did is two steps:
|
a next js project can add a <Script/> in _document.tsx
|
Worth noting that |
None of the solutions worked for us, but when we change the version to 3.19.3 then we could use this package |
if you on expo or using global.js add |
Bug Description
The problem occurs on the widget screen. The endless error "Error fetching trade"
I have this problem both when using @uniswap/widgets and when writing my widget via @uniswap/v3-sdk. I created a similar issue on the @uniswap/widgets project, but decided to duplicate it here, maybe someone has come across this.
I assume that the problem may lie in the collector and the absence of some polyphiles. But I use Vite with this vite,config.ts
The text was updated successfully, but these errors were encountered: