When I run npm run build for a Next.js (React & Ts) I get the following error:
Error: Missing "key" prop for element in array react/jsx-key
This error points to the following code:
<GridActionsCellItem
icon={<SaveIcon />}
label="Save"
sx={{
color: "primary.main",
}}
onClick={handleSaveClick(id)}
/>