Is smoking bad for breastfeeding?

My hospital told me to carry on smoking instead of stopping breastfeeding to smoke. I think it's weird advice from them 🥴