Children swearing

Monique • After 16 months of ttc we are finally going to be blessed with baby #2
My nearly 4 yr old has recently started dropping the F bomb randomly. My husband swears like a sailor, since she was born I asked him to curb his swearing. I'm no angel but I stopped saying fuck this etc using damn it and stuff and now she's said it twice in a day 😧 I know the best thing is not to react to the word and not give it power etc but will she lose interest in the word or should I give her time out when she says it? I've dreaded this day sigh