Marijuana use during pregnancy can harm the fetus and cause children to be born with decreased cognitive skills. As THC can be excreted into breast milk, breastfeeding mothers are highly advised to refrain from smoking marijuana during that period.
https://recoverypartnernetwork.com/drug/illicit/smoking-marijuana