bad milk?

I pumped last night into a storage bag and then put it into the fridge. this morning i went to get it out to feed it to my daughter and it looked like it was bad, like it had white stuff in it. i shook it up and it looked normal after that, but is it bad? i fed it to her anyways cause my mom said it was fine but i'm so so scared now that i think about it.