Polysporin / neosporin / etc are mostly made up of petroleum jelly with a small amount of active ingredients- bacitracin, neomycin & polymyxin added. Petroleum jelly is essentially inert. (Though a lot will give her diarrhea)
I would assume the amount of polysporin you applied to the affected area was small (you don't need to apply any more than a very thin coating layer to provide antibacterial wound protection), so it is likely the amount ingested, if any, is negligible.
I wouldn't worry to much about it.
But if you are really concerned, or the amount was significant, I'd continue to give her water, and some greens/pees/etc along with some regular feed to help get any through her system.
Hope that helps!
Dan