Hair dying while pregnant

Bv

My friend dyed her hair before she knew she is pregnant and now she’s so so so worried it would affect the baby, any idea if it hurts the baby or not just to calm her worries down?

Thanks.