Skip to content

Commit

Permalink
OP-1468: add missing return
Browse files Browse the repository at this point in the history
  • Loading branch information
olewandowski1 committed Mar 27, 2024
1 parent a0ffbd1 commit 9657f5c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/VoucherSearcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ function VoucherSearcher({ downloadWorkerVoucher, fetchWorkerVouchers, clearWork
downloadExport(workerVoucherExport, `${formatMessage('export.filename')}.csv`)();
clearWorkerVoucherExport();
}

return setFailedExport(false);
}, [workerVoucherExport]);

const handleExportErrorDialogClose = () => {
Expand Down

0 comments on commit 9657f5c

Please sign in to comment.