fix: remove empty files to be downloaded from transaction raw logs

This commit is contained in:
Sérgio Salgado 2022-11-04 18:00:46 +00:00
parent bd5df278be
commit c5e4efdcd2

View file

@ -107,7 +107,7 @@ const DetailsRow = ({ it: tx, timezone }) => {
const zip = new JSZip()
const [fetchSummary] = useLazyQuery(TX_SUMMARY, {
onCompleted: data => createCsv(data)
onCompleted: data => createCsv(R.filter(it => !R.isEmpty(it), data))
})
const [cancelTransaction] = useMutation(