Dentist safe or no?

I have a root canal I would like to be fixed ASAP! Is this a safe procedure during pregnancy 🤰🏽