Nighttime feedings and teeth

So just yesterday I learned I’m supposed to be brushing my 10month old’s teeth.. I guess I subconsciously thought not to until it all came in. Anyways, I feel awful about not knowing.

How do you ladies whose babies still like their night time feedings navigate this? My son still likes to have his formula in the middle of the night. I feel like it defeats the purpose but curious what others do

Thanks!