Jeiwan/uniswapv3-code

Unable to use the frontend

stevyhacker opened this issue · 2 comments

I followed all the steps and the contract parts worked okay after using anvil --code-size-limit 4857 but on the frontend side after install all dependencies and running yarn start I get these error messages in the console and buttons are not clickable in the ui at all. Also Loading pairs is stuck, it never displays anything else.

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'fee')
    at bundle.js:1444:92

image

Jeiwan commented

You need to switch to the localhost:8545 network in metamask.

I did as you can see it says Connected to Anvil at the top, it's on the correct chain.