Withdrawing from a class as freshman but planning to transfer

I’m a current freshman at an undergraduate college and am looking to transfer. I withdrew from a class that I didn’t particularly like but could have eked out a B/B+ in. However, I was hospitalized earlier in the semester and missed work in other classes so I took on extra projects in those classes and wanted to focus on them more.

Will it look bad that I withdrew from that one class as my transfer application will only have that one semester of college grades?

You had a medical issue. Don’t worry about this. It is just lucky that you were able to keep the other classes!