root canal during pregnancy

Is a root canal safe when you’re pregnant?