How does the sentence end?

Elena was full of anxiety when talking with Cynthia, thanks to
Cynthia having a tendency to fight when in public.