Dental work

Hello ladies !! I am at the tail end of 36 years old and about 5 weeks with my second. I will be getting a filling done on 1-2 teeth next week and I was wondering if anyone had dental work while pregnant ? Was everything okay with your baby after ? I’m just a bit nervous, but I know that keeping up in dental health is important during pregnancy too.