{
JSON.stringify(
{
selectedFlatRows: selectedFlatRows.map((row) => row.original),
},
null,
2
)
}
In the above function, what is the use of passing null and 2 in the JSON.stringify function?
in this video link, it has been done like this