From 57bc10d9a2e154a9a68dbd50f2d87735342af24b Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 7 Oct 2021 01:52:16 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Fail=20validation=20if=20an=20er?= =?UTF-8?q?ror=20is=20returned=20by=20`/api/core/instance/`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/instance/InstanceFormBox.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/instance/InstanceFormBox.tsx b/frontend/src/components/instance/InstanceFormBox.tsx index c8d8dd4..97a5d77 100644 --- a/frontend/src/components/instance/InstanceFormBox.tsx +++ b/frontend/src/components/instance/InstanceFormBox.tsx @@ -61,7 +61,7 @@ export function InstanceFormBox(): JSX.Element { instance.dispatch({ type: "deselect", }) - return undefined + return false } // Awaits should always be followed by abort checks