Pregnant with hypothyroid

Hi Ladies- I'm 7weeks 5 days and just heard the news that my thyroid levels are at 3.3, hypothyroid. I had a miscarriage back in December at 10weeks and I'm so worried this will happen again due to my thyroid. I'm now on medication, but worried that my baby will suffer from this condition. Had this happened to anyone else? Did you baby turn out ok?