score:0

{accounts.map((account, index) => (
       <TableRow
        key={account.accountExt}
        sx={{ '&:last-child td, &:last-child th': { border: 0 } }}
        onClick={() => changeStyle(account[1].id)}
       >
       <TableCell align="left"><img src={`data:image/png;base64,${account[1].image}`} alt={account[1].accountInt}></img>{account[1].accountInt}</TableCell>
       <TableCell align="left">{account[1].accountExt}</TableCell>
       {isSelected && <>
                <button>Edit</button>
                <button>Delete</button>
            </>}
       </TableRow>
  ))}

Related Query

More Query from same tag