From 47b139a09988f41e61b8d69e7e3e11c648182c3a Mon Sep 17 00:00:00 2001 From: devchenyan Date: Mon, 9 Oct 2023 15:20:59 +0800 Subject: [PATCH] fix: issue - 277 (#2862) fix: 277 --- packages/neuron-ui/src/components/SUDTSend/index.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/neuron-ui/src/components/SUDTSend/index.tsx b/packages/neuron-ui/src/components/SUDTSend/index.tsx index 799976413c..3b13ee4aad 100644 --- a/packages/neuron-ui/src/components/SUDTSend/index.tsx +++ b/packages/neuron-ui/src/components/SUDTSend/index.tsx @@ -392,7 +392,7 @@ const SUDTSend = () => { ) : null } disabled={sendState.sendAll} - error={errors[field.key]} + error={errors[field.key] || (field.key === Fields.Address ? remoteError : '')} className={styles[field.key]} placeholder={field.placeholder} /> @@ -448,7 +448,6 @@ const SUDTSend = () => { value={sendState.description} field={Fields.Description} onChange={onInput} - error={remoteError} placeholder={t('s-udt.send.description-placeholder')} />