From 2f07d5edf0b1b71acd0dd6f0645ad9477e09d518 Mon Sep 17 00:00:00 2001 From: Arik Chakma Date: Fri, 10 Nov 2023 03:27:48 +0600 Subject: [PATCH] Fix invite friend --- src/components/Friends/InviteFriendPopup.tsx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/components/Friends/InviteFriendPopup.tsx b/src/components/Friends/InviteFriendPopup.tsx index 3a0a2d9f4..255e13a85 100644 --- a/src/components/Friends/InviteFriendPopup.tsx +++ b/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); }} > - Invite Friends + {isCopied ? 'Copied' : 'Copy URL'}