This commit is contained in:
2023-12-10 16:53:07 +07:00
parent f9402f5c4f
commit 132ea7f887
30 changed files with 53 additions and 189 deletions

View File

@@ -2,8 +2,8 @@ import * as Avatar from '@radix-ui/react-avatar';
import { minidenticon } from 'minidenticons';
import { useMemo } from 'react';
import { displayNpub } from '@utils/formater';
import { useProfile } from '@utils/hooks/useProfile';
import { displayNpub } from '@utils/shortenKey';
export function MentionPopupItem({ pubkey, embed }: { pubkey: string; embed?: string }) {
const { isLoading, user } = useProfile(pubkey, embed);