medium10 pts · first answer countsblockchain-fundamentalsdapp-frontend
Balance not updating after a swap
After a successful swap, the dapp still shows the old token balance until the page reloads. The balance is read with wagmi's `useReadContract`. What is the right fix?
Discussion 0
Join free to post in the discussion.
Related questions
- What links one block to the nextBlockchain Developer
- The account nonceBlockchain Developer
- Token decimalsBlockchain Developer
- When a block is finalBlockchain Developer
- How proof of stake secures the chainBlockchain Developer
- The Merkle root in a blockBlockchain Developer
- What the mempool isBlockchain Developer
- Hot vs cold walletBlockchain Developer