The common name that entomologists give fruit flies is "vinegar flies ... in the fridge instead of on the counter will also make it harder for the fruit flies to find them.
Others also praised the effectiveness of alcohol on luring fruit flies to their demise. One person simply stated: “Beer is my go-to fruit fly trap!” Someone else suggested: “Put some apple cider ...