Clindamycin while breastfeeding

Hello, I had a root canal done today and my dentist gave me the antibiotic called Clindamycin and he mentioned that I shouldn’t breastfeed while taking it incase my baby is allergic to it. Well formula isn’t really an option for me right now so I’m just wondering if anyone took Clindamycin while breastfeeding? Or anyone’s opinions? I’d like to start taking it asap to help he infection but obviously I don’t want to harm my baby. Google gives mixed answers. Thanks in advance!