Jaundice and breast feeding

Tay

So I recently had to stop breast feeding my one week old baby and give her formula to try to help with jaundice. Since we've been back to breastfeeding she eats more often. I think it's where she got the milk quicker with the bottle and now she has to work for it again. I could be wrong but needed advice I'm feeding every time she's hungry.