Please help

Please no judgment. I am a smoker and a breast feeder. I hear it is better to smoke and breast feed than it is to smoke and formula feed. Is this true and also so i wait a certain amount of time before or after feeding?