Trump's lawyer denied that Donald Trump has sex with Stormy Daniels in his opening statement. This FORCED the prosecution to put Daniels on the stand and PROVE to the court that they had sex and that Trump was terrified of her telling her story to the press after the Access Hollywood tape became public.
And then Trump sent his lawyers out to slut shame Daniels for 2 days, while the people who destroyed Trump on the witness stand - David Pecker and Hope Hicks, who proved the conspiracy, Trump's involvement with the coverup and witnesses who described Trump's obsession with every dollar spent and every deal made, and he signed the reimbursement checks for the hush money payments, were barely quedstioned by Trump's attorneys.
While you're focussed on what Daniels said, you completely missed what the prosecution did in presenting their entire case. Trump let her go on and on in the hope that Daniel's testimony will get this case tossed in the same way that Harvey Weinstein got a mistrial.
Dumb move, but if Trump had ever made a "smart move" in his entire life, he wouldn't be facing all of these criminal charges today.