You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/*
* Let data be a long array of objects containing the same keys
*/
let data = [
{ k1: v1, k2: v2 },
{ k1: v3, k2: v4 },
{ k1: v5, k2: v6 },
...
]
/*
* Let CsvDownloader be initialized as so
*/
<CsvDownloader filename='fileName' datas={data}>
<Button>Download</Button>
</CsvDownloader>
Upon upgrading react-csv-downloader to v3, we noticed the created .csv file contains repeated columns when opened in excel. For example,
Upon upgrading react-csv-downloader to v3, we noticed the created .csv file contains repeated columns when opened in excel. For example,
This bug is not present in version 2.9. It appears that supplying columns prop fixes the bug.
The text was updated successfully, but these errors were encountered: