Closed henriquefacioli closed 6 years ago
The answers are, respectively, no and yes :)
In my view, for this case there is no reason to send an object like { id: 0 }
, it would only make sense if we were to send other things together within this object.
At Edit.jsx, while
onSetActivity
expects the raw value (id) from the activity,onSetProjectPhase
expects an object {id: id}. Is there a reason? If not, should we standardize then both?