Click on row in table and open URL from a different field in database

I have a collection with two fields, a name ana a web address (I mistakenly labbeled it email). I display the name in the table. I would like to open the web address when someone clicks on a name. Here is the code I used. It doesn’t work. Can anyone help?

export function tblSupporters_rowSelect(event) {
let rowData = event.rowData;
let addr = rowData.email ;
wixLocationfrontend.to (addr);

}


J e pense que tu dois ajouter
import wixLocationFrontend from ‘wix-location-frontend’;
en début de code

Thank you, Erick.
I have imported wix-location-frontend at the beginning of the code. The code does now work. Thank you for your help.