= ({
{repliedMessage?.senderAddress === address
? 'YOU'
: primaryName ??
- formatAddress(repliedMessage?.senderAddress ?? '')}
+ formatAddress(repliedMessage?.senderAddress ?? '')}
{isReplyText || isReplyReply ? (
= ({
src={
primaryName
? sanitizeEnsImage({
- name: primaryName,
- chainId: 1,
- image: records?.sanitizedRecords?.avatar,
- })
+ name: primaryName,
+ chainId: 1,
+ image: records?.sanitizedRecords?.avatar,
+ })
: undefined
}
/>
@@ -140,7 +140,7 @@ export const MessageItem: React.FC = ({
}}
>
{blocked ? (
-
- }
- right={
- isSearchLoading ? (
-
- ) : (
- {
- setNewAddress('');
+ >
+
+
+
+
+
+
+ To
+
+ {isSearchLoading ? (
+
+ ) : (
+ debouncedAddress.length > 0 ?
+
+ : null
+ )}
+
+ }
+ right={
+ isSearchLoading ? (
+
+ ) : (
+
+ {
+ setNewAddress('');
+ }}
+ >
+
+
+
+ )
+ }
+ placeholder={'ENS, Wallet Address...'}
+ onChange={(e) => setNewAddress(e.target.value)}
+ style={{
+ flex: 1,
+ height: 22,
+ maxHeight: 22!,
+ gap: 5,
+ }}
+ />
+