The YouTube channel JavaScript Mastery clearly demonstrated how to deploy your own web3.0 decentralized exchange on Ethereum. There is a but related to the dropdown menu of the swap page at the end of the video. As the setShowList function is triggered twice every time we click the dropdown menu, it will not…