Fix invite friend

images-fix
Arik Chakma 1 year ago
parent 1dd9a53a32
commit 2f07d5edf0
  1. 8
      src/components/Friends/InviteFriendPopup.tsx

@ -1,8 +1,8 @@
import type { MouseEvent } from 'react';
import { useRef } from 'react';
import { useOutsideClick } from '../../hooks/use-outside-click';
import CopyIcon from '../../icons/copy.svg';
import { useCopyText } from '../../hooks/use-copy-text';
import { Copy } from 'lucide-react';
type InviteFriendPopupProps = {
befriendUrl: string;
@ -54,11 +54,7 @@ export function InviteFriendPopup(props: InviteFriendPopupProps) {
copyText(befriendUrl);
}}
>
<img
src={CopyIcon.src}
className="h-4 w-4"
alt="Invite Friends"
/>
<Copy className="h-4 w-4" />
{isCopied ? 'Copied' : 'Copy URL'}
</button>
</div>

Loading…
Cancel
Save