Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
SahilAggarwal2004 committed Jun 3, 2024
1 parent e03fd5a commit d1453bf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/components/FileDownload.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ export default function FileDownload({ fileIdFromUrl = false }) {
if (server) return;
setDownloadFiles((prev) => prev.filter(({ _id }) => _id !== fileId).concat({ nameList, _id: fileId, createdAt, daysLimit }));
} catch {
setProgress(-1);
toast.error("Couldn't download file(s)");
}
}
Expand Down

0 comments on commit d1453bf

Please sign in to comment.