Hello,
Two-Weapon Fighting (p446, AG) indicates "If you have the Extra Attack feature, you can use your bonus action to make two attacks with the weapon in your off-hand."
Does this mean that you still gain the benefit of two attacks using your bonus action even if you use one of your attacks...