diff --git a/src/components/common/AddressInput/index.tsx b/src/components/common/AddressInput/index.tsx index 8e691edafb..597184be37 100644 --- a/src/components/common/AddressInput/index.tsx +++ b/src/components/common/AddressInput/index.tsx @@ -22,6 +22,7 @@ import SaveAddressIcon from '@/public/images/common/save-address.svg' import classnames from 'classnames' import css from './styles.module.css' import inputCss from '@/styles/inputs.module.css' +import Identicon from '../Identicon' export type AddressInputProps = TextFieldProps & { name: string @@ -128,8 +129,13 @@ const AddressInput = ({ // Display the current short name in the adornment, unless the value contains the same prefix startAdornment: ( - - + + {watchedValue && !fieldError ? ( + + ) : ( + + )} + {!rawValueRef.current.startsWith(`${currentShortName}:`) && <>{currentShortName}:} ),