Potty training regression!!!!

Natalie
So I'm 34 weeks pregnant with baby #2 and we potty trained our 3year old daughter she's been doing so good for almost 2months now and the only thing she doesn't go potty in public yet so she has to wear pull ups to go out but at home she's in underwear all day . For almost 2days now she's been having accidents left and right ,at first I thought she had an infection cause she was just peeing but yesterday she had to poop accidents in her underwear! So frustrated right and trying my hardest not to get upset when it happens! These darn hormones don't make is easy to stay calm !