EatTheBlocks Forum

17. Challenge - 6-Figure Blockchain Developer --- Stuck

Hi
Can someone please give some hints to make this ?

  • After we approve a transaction, we can still click on the approve button, even though the smart contract only allows one approval per address for each transfer. We could gray out the approve button after an approval. TIP: after we fetch the list of transfers in App.js, we could also fetch the approvals for each transfer, for the current address, and pass this info to the TransferList component.

Many thanks in advance for the one who helps, I am fully stuck there