Breastfeeding while pregnant

ke

Is it okay to breastfeed while pregnant ? My kiddo is struggling to wean & will have melt downs if she doesn’t get the boob