I return workbook as arraybuffer from api then trying to download on react side with blob.
It downloads file but csv file has bunch of numbers not the proper data.
Current Output
{ type: 'Buffer', data: [67,40,3,10....] }
-from api
....
return await workbook.csv.writeBuffer()
-react side
const handleDownload = async() => {
const response= await userHelper.getExcel()
saveAs(new Blob([response?.data], { type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' }), 'deneme.csv');
}