From 78767db2d03b78e8ff5bdfa4b9a7faa261caa414 Mon Sep 17 00:00:00 2001 From: Shekar Siri Date: Fri, 27 Jan 2023 15:02:31 +0100 Subject: [PATCH] fix(ui) - meta list crash --- .../Client/CustomFields/CustomFieldForm.js | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/frontend/app/components/Client/CustomFields/CustomFieldForm.js b/frontend/app/components/Client/CustomFields/CustomFieldForm.js index ca13a20b4..22108deee 100644 --- a/frontend/app/components/Client/CustomFields/CustomFieldForm.js +++ b/frontend/app/components/Client/CustomFields/CustomFieldForm.js @@ -39,16 +39,17 @@ class CustomFieldForm extends React.PureComponent { placeholder="Field Name" /> - - {errors && ( + + {/* TODO: errors state is not updating properly */} + {/* {errors && (
- {errors.map((error) => ( - - {error} + {errors.map((error, i) => ( + + {error.message} ))}
- )} + )} */}