Property 'then' does not exist on type 'Element' in Wix error. HELP!!!!

I have updated my code and everything is fine in it accept for the email line of the Contact Info area. Any assistance with this would be greatly appreciated.