react-csv-downloader
react-csv-downloader copied to clipboard
Handle error when datas is a promise
it would be nice to have a way to handle errors when datas is a promise that gets rejected. Currently if there's nothing resolved, there's an error caused by trying to reduce an undefined result