Lightning Component

I noticed this was marked as “solved” but the code you provided doesn’t work… see below for the SF error.  Can you advise on how I should edit?