Would this upset you?

I have a friend who is not by any means a close friend but she has been in my friend group for about 2 years now. Her baby sadly passed away at birth. Without even realizing what her child’s name was I picked out that name for my baby’s middle name who is due in a few days. It is a very common name but the last thing I want to do is hurt her. Do you think I should change the middle name?