What to do

We are having a girl and her name is a surprise for everyone. My really good friends at work something bring it up in conversation and one day we were talking names and my friend mention a couple joke names her and her husband joke about but then mentioned a name hey they like bc of a nickname they can use with their last name. That name came up twice. It’s actually the name we have had picked out. Do I need to tell her first? Or no