How does the sentence end?

Erin managed to avoid making themselves look silly on the dance floor, unlike Megan, because
Erin attended dance classes.