Not likely but if your baby does get really fussy after the nursing session right after you eat it then you might try cutting it out of your diet and then seeing what happens.
The whole "You can't eat ******* while breastfeeding!"
is generally a myth. Usually stuff like dairy needs to be cut...