Is smelling weed harmful?

Can smelling weed (not smoke just the bud) while pregnant have any harmful affects on baby? I know second hand smoke can but I can’t find any answers on just smelling a bud