Thank you for your query on Healthcare Magic.
I advise you to continue the medication as advised by your Pediatrician
As she looks dehydrated, try to give and increase oral rehydration solutions like Pedialyte, coconut water, and lemon water in sips to correct the dehydration
Give soft diet.
Curt and yogurt can be given as they contain probiotics.
Monitor her hydration by her activity, urine output, and the skin turgor.
Probiotic like lactobacillus
or Saccharomyces will decrease the loose stool
by restoring the protective normal gut flora.
Consult your Pediatrician again to reassess your child and for appropriate treatment.
Hope I have answered your query.