Merge pull request #405 from 1weiho/fix/fetch-fail-keep-loading
Some checks failed
⚙️ Check app / vitest (push) Has been cancelled
⚙️ Check app / svgs-size (push) Has been cancelled
🚀 Deploy API / Deploy (push) Has been cancelled

Fix: cancel the loading state after the react component fetch fails
This commit is contained in:
Pablo Hdez 2024-09-08 19:00:44 +01:00 committed by GitHub
commit 0b1776c00e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -113,6 +113,7 @@
description: `${error ?? ''}`,
duration: 5000
});
isLoading = false;
return;
}