Thank you for your query on Healthcare Magic.
Continue the medication as advised by your Pediatrician
Maintain her hydration by giving sips of oral rehydration solutions like Pedialyte
As she is being given formula feeds also be careful in preparing, handling, and feeding the child hygienic methods and in proper reconstitution of feeds.
If the motions are not subsiding consult your Pediatrician again for reassessment and for specific treatment.
Hope I have answered your query.