I am getting this error:
Error: Material-UI: The data grid component requires all rows to have a unique id property.
A row was provided without id in the rows prop:
When I add a new row to my rows in the DataGrid component using:
const handleNewJobCreation = (newRow) => {
setRows([
{...newRow},
rows
]);
}
However, I can see that all my rows do have the id property inside the dataset, I was wondering how can I fix this issue to be able to get append new data to the rows.