Hydroxyzine

My OB wrote me hydroxyzine shortly after I found out I was pregnant due to having to cold turkey my anxiety meds. I’ve been fortunate enough to have not taken it thus far, and I’m 12 weeks. I’m curious if anyone else took this while pregnant and their experience with it. I’ve taken this before but it’s been a long time since. I’m also very aware that it is unlikely my OB’s office would have written my prescription if they thought it would harm me or my pregnancy.