How did you know you needed to eliminate dairy from your diet when breast feeding and how did you know it worked?

TIA.