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 points to the code
<GridActionsCellItem
icon={<SaveIcon />}
label="Save"
sx={{
color: 'primary.main',
}}
onClick={handleSaveClick(id)}
/>