Easter candy safe?

I had a miscarriage in December at 8 weeks. I’m 7 weeks 1 day pregnant today ... and of course I’m worried and always trying to eat the healthiest I can for this baby. I just ate some jelly beans, not a whole bag of them, a small amount. Yesterday I also ate a chocolate bunny .... did I do any harm?? I heard you should avoid sugar when pregnant... for the most part I eat healthy, but it’s Easter and I wanted some candy. We saw heartbeat at 6 weeks 4 days on Monday and just want everything to go well during this pregnancy. Thanks all! 💗🍼👶🏻🙏🏻