Open the BP_PlayerInventory then open the UseWeaponFromSlot function and move the code connected to the Hold/Unhold pin of the Switch node down then add the code show in the images below.

Then open the BP_EquipmentInventory blueprint then open the EquipWeapon function and copy the video below.