Freaking Out

I had a bag of Switzer's green apple licorice and I ate 3-4 of them. I didn't think they were bad because they're pretty much like Twizzlers. But I was told I shouldn't have eaten them and now I'm freaking out. Did it hurt the baby??

Edit: I was told licorice was a big no no while pregnant and eating it could cause problems for the baby.