Uniswap / widgets-demo

@uniswap/widgets demo
GNU General Public License v3.0
41 stars 66 forks source link

Issue with last versions of uniswap widget. #7

Open gilles-hemmerle opened 1 year ago

gilles-hemmerle commented 1 year ago

I had trouble to implement uniswap widget in my react project (due to jotai bug: https://github.com/Uniswap/widgets/issues/374). Even if I add jotai-immer dependency to my project, i get a lot of deprecated issues in the chrome console and the swap button ends up to be always greyed out.

image

So I decided to test your demo repo here (using cra branch).

If I do yarn / yarn start. It works well but I noticed this demo is running on widgets 1.0.0.

If I remove the yarn.lock and run yarn again, it updates the widget to version 1.1.1 which has the exact same issue as I do have when trying to install your widget in my project:

image

Is it possible to update your demo using the last version of uniswap's widget in order to have a working example that we could use for the integration?

lcrpt commented 1 year ago

I have the same issues