I am trying to build a feature in React where a user can input two ERC20 tokens on Polygon and swap them using the Uniswap v4 SDK. The component is here: . The transaction reverts without reason. Wondering if anyone knows why this might be happening?
Attempting to get the pool in order to construct the route and then execute the trade.