{AP_VALUES_TO_SHOW.map((ap) => (
{ap}
))}
{values.map((row, i) =>
[
{AP_VALUES_TO_SHOW[i]}
,
].concat(
row.map((cell, j) => {
const key = `${i}-${j}`;
if (cell === "N/A") {
return
;
}
const title = `${cell.shots ?? "-"} (ISM: ${cell.ismAP}, ISS: ${
cell.issAP
})`;
if (typeof cell.shots !== "number") {
return (
// biome-ignore lint/a11y/noStaticElementInteractions: Biome v2 migration
handleHover({ ismAP: cell.ismAP, issAP: cell.issAP })
}
>
-
);
}
return (
// biome-ignore lint/a11y/noStaticElementInteractions: Biome v2 migration
handleHover({ ismAP: cell.ismAP, issAP: cell.issAP })
}
>
{cell.shots}
);
}),
),
)}