Nope. Go ahead and eat whatever is cooking. Most breastfeeding moms don't need to limit their diets at all.
Some moms do report that their babies are fussier after they eat certain foods or spices, but there's no universal rule. If you think your baby is reacting to a particular ingredient in your diet, try cutting it out for a while to see if the food is truly the culprit.
(Note: If baby has strange or persistent symptoms, like bloody stools, vomiting, a rash, or diarrhea, talk with your pediatrician about the possibility of a food allergy or sensitivity.)