remove duplicate toast

This commit is contained in:
proddy
2024-07-06 19:26:22 +02:00
parent 8a4218206d
commit 5eb56c3243

View File

@@ -169,12 +169,8 @@ const UploadDownload: FC = () => {
}; };
const downloadSchedule = async () => { const downloadSchedule = async () => {
await getSchedule() await getSchedule().catch((error: Error) => {
.catch((error: Error) => {
toast.error(error.message); toast.error(error.message);
})
.finally(() => {
toast.info(LL.DOWNLOAD_SUCCESSFUL());
}); });
}; };