Can't believe 4 of us missed that closing quote and angular bracket in the wrong place. Should be:
`<h2>{[{ getEventTitle(event) }]}</h2>`