The original code deleted unneeded keys from the project object that makes up a row in the data export. This created an unpredictable and befuddling scope issue, where the keys were deleted from the project data in state. Javascript...
To fix this, instead of the delete + spread operator combination, I wrote out the key/value pairs for the row data.
Overview
Demo
Notes
The original code
delete
d unneeded keys from theproject
object that makes up a row in the data export. This created an unpredictable and befuddling scope issue, where the keys were deleted from the project data in state. Javascript...To fix this, instead of the delete + spread operator combination, I wrote out the key/value pairs for the row data.
Testing Instructions