baby refusing milk bc of foods

I'm having trouble with my 5 month old baby. She started to eat foods and loves it so much but she is drinking less of her milk and even refusing it. Any advice what to do? I don't want her to get dehydrated. Thanks