diff --git a/src/app/auth/import.tsx b/src/app/auth/import.tsx index d105deda..7a995d3a 100644 --- a/src/app/auth/import.tsx +++ b/src/app/auth/import.tsx @@ -145,6 +145,7 @@ export function ImportAccountScreen() {
Note:
-- If you're using nsecbunker token, keep in mind it only can - redeem one-time, you need to login again in the next launch -
-+ You're using nsecbunker token, keep in mind it only can redeem + one-time, you need to login again in the next launch +
+ ) : null} diff --git a/src/app/chats/components/chatListItem.tsx b/src/app/chats/components/chatListItem.tsx index 99f1707d..68d827a9 100644 --- a/src/app/chats/components/chatListItem.tsx +++ b/src/app/chats/components/chatListItem.tsx @@ -12,14 +12,14 @@ import { useProfile } from '@utils/hooks/useProfile'; import { displayNpub } from '@utils/shortenKey'; export const ChatListItem = memo(function ChatListItem({ event }: { event: NDKEvent }) { - const { status, user } = useProfile(event.pubkey); + const { isLoading, user } = useProfile(event.pubkey); const decryptedContent = useDecryptMessage(event); const createdAt = formatCreatedAt(event.created_at, true); const svgURI = 'data:image/svg+xml;utf8,' + encodeURIComponent(minidenticon(event.pubkey, 90, 50)); - if (status === 'pending') { + if (isLoading) { return (Loading...
- {user?.nip05 || user?.username || displayNpub(pubkey, 16)} + {user?.nip05 || user?.username || fallbackName}