Borax?

Ch

So does anyone know if borax is safe during pregnancy? We currently have fleas and nothing is working to make them go away. So I was told borax by a friend.