Unable to use the frontend
stevyhacker opened this issue · 2 comments
stevyhacker commented
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
Jeiwan commented
You need to switch to the localhost:8545 network in metamask.
stevyhacker commented
I did as you can see it says Connected to Anvil at the top, it's on the correct chain.