Is it bad to withdraw from a class while my application is pending?

So I recently applied to SDSU and I currently have 1 W on my transcript. I’m taking General Chem II which Im currently struggling with and haven’t been doing good. I want to withdraw (today is the deadline) but will it affect my application if I withdraw right now?

Edit: I also forgot to mention that I am a community college student looking to transfer.