Breastfeeding help needed

So ladies , sorry for this long post but I need to ask and post this here as I’m loosing my mind over this and need some answers as per your experiences.

So my baby wasn’t latching well since birth as she was given bottle to support weight loss. So week 1 I tried only breastfeeding her and a bottle of formula or 2 in the day and she lost 20 grams. Week 2 I started pumping and gave her pumped milk(was producing 60-100ml combined per 3 pumps) and formula every feed . She started gaining weight about 200grams in 3 dAys. So the dr said we don’t need the supplement with formula at every feed. Week 3 - started pumping 4 -5 times and got 150 ml milk combined and baby’s only getting pumped milk and breastfeeding at least 5 times a day (as I don’t breastfeed if I have just pumped and if baby’s hungry at that time - I give her pumped milk) baby’s gaining 30grams per day since then.

Is this okay ? Is this much weight gain normal ? Do I need to do supplement formula ? Dr days not but I see many baby’s doubling thier weight in month. My baby was born 5.4 pounds(at full term with no issues ) and at 4 weeks she’s 6.9 pounds.