diff --git a/packages/message-sdk/src/components/UserList.tsx b/packages/message-sdk/src/components/UserList.tsx index ed2632b0b..0a25bf658 100644 --- a/packages/message-sdk/src/components/UserList.tsx +++ b/packages/message-sdk/src/components/UserList.tsx @@ -303,7 +303,9 @@ function UserListItem({ }} > {formatUsername(user.username, 15)}{" "} - {Object.values(user.searched.blockchains).filter((bool) => bool) + {user.searched && + user.searched.blockchains && + Object.values(user.searched.blockchains).filter((bool) => bool) .length > 0 ? formatWalletAddress(user.searched.usernamePrefix!, 2) : ""}