Events custom page

Hi, I want to create a button that when clicked, the description of the event can be shared on WhatsApp.
For some reason I can’t.
I am attaching the code I wrote

import wixLocation from ‘wix-location’ ;
import wixData from ‘wix-data’ ;
import events from ‘wix-storage’ ;
import wixEvents from ‘wix-events’ ;

let text = wixData . insert ( “events/events” , “description” )

/**

  • Adds an event handler that runs when the element is clicked.
    Read more
  • @param {$w.MouseEvent} event
    */
    export function vectorImage2_click ( event ) { wixLocation . to (( “Share on WhatsApp” ) + text )
    }