Local variable name shadows variable in outer scope JS-0123
Bug risk
Minor
1 occurrence in this check
'res' is already declared in the upper scope on line 932 column 28
1145        });
1146      });
1147  } else {
1148    const generateExcelFile = async (res) => {1149      const options = {
1150        filename: "export.xlsx",
1151        useStyles: true,