From 9119550373d0f6d3a37ac61e11099909f20b7e1f Mon Sep 17 00:00:00 2001 From: Daniel Sanchez Date: Tue, 25 May 2021 10:41:31 +0200 Subject: [PATCH] Catch backend error and send controlled form error (#2324) --- src/routes/load/components/DetailsForm/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/load/components/DetailsForm/index.tsx b/src/routes/load/components/DetailsForm/index.tsx index 16ad1de1..a807923c 100644 --- a/src/routes/load/components/DetailsForm/index.tsx +++ b/src/routes/load/components/DetailsForm/index.tsx @@ -54,8 +54,8 @@ export const safeFieldsValidation = async (values): Promise null) if (!safeInfo) { errors[FIELD_LOAD_ADDRESS] = SAFE_ADDRESS_NOT_VALID }