Try this one…
export async function table1_rowSelect(event, $w) {
let rowData = event.rowData;
let rowIndex = await event.rowIndex;
const myRow = event.target.rows[rowIndex];
wixLocation.to(`${myRow["/deal-submission-1/"]}`)
}
The roIndex should first be defined, before you can use it (i think).
You should try to work with console-logs, these logs will show you the right way.
export async function table1_rowSelect(event, $w) {
let rowData = event.rowData;
let rowIndex = await event.rowIndex;
console.log(rowData)
console.log(rowIndex)
const myRow = event.target.rows[rowIndex];
console.log(myRow)
wixLocation.to(`${myRow["/deal-submission-1/"]}`)
}