dental work and breastfeeding

I had some dental work done today and my dentist needed to use some local anesthesia. She said I could breastfeed once it wore off but I'm still not sure! Anyone have any advice?