Update src/pages/components/settings/webhooks.jsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Félix MARQUET
2025-05-26 10:11:24 +02:00
committed by GitHub
parent eeada4fbb2
commit d9aba8a5a3

View File

@@ -198,6 +198,7 @@ function WebhooksSettings() {
const handleTest = async (webhook) => {
if (!webhook || !webhook.id) {
setError("Impossible to test the webhook: no webhook provided");
setLoading(false);
return;
}