Overthinking?

We went to my grandmother’s pool today. She was serving us poolside snacks and brought some snacks over and put them on the side of the pool. She was standing right by the snacks talking to me I noticed all of her toes have toenail fungus. I am 28 weeks pregnant and the snacks were right next to her fungus toes. I feel sick to my stomach. Can this affect my baby?