brunchz / z21studio-dashboard

MIT License
0 stars 0 forks source link

Improve "onDeleteReportHandler" #30

Open brunchz opened 2 years ago

brunchz commented 2 years ago

AddPastReports > Line 89 Contains too many args passed, should be accessible with 1 or 2 args max.


 const onDeleteReportHandler = () => {
 const {reportObj} = user;
 dispatch(deletePastReport(user, id, reportObj[deleteModal.reportId], deleteModal.reportId));
  };`