diff --git a/src/components/common/modals/invite-member/index.tsx b/src/components/common/modals/invite-member/index.tsx index ee93cd2b4..d048e4ecf 100644 --- a/src/components/common/modals/invite-member/index.tsx +++ b/src/components/common/modals/invite-member/index.tsx @@ -82,9 +82,8 @@ const InviteMemberModal: React.FC = ({ show, onClose }) => { setError(response.error); } else { toast({ - title: "Success", - description: "Your invite has been sent successfully to members' email", - variant: "default", + description: "1 Invite sent successfully.", + variant: "success", }); setEmails(""); onClose(); @@ -113,8 +112,8 @@ const InviteMemberModal: React.FC = ({ show, onClose }) => { if (document.hasFocus()) { await navigator.clipboard.writeText(inviteLinkData); toast({ - title: "Invite Link", description: "Invite link copied to clipboard!", + variant: "success", }); } else { setError("Failed to copy invite link. Please manually copy it."); diff --git a/src/components/ui/toast.tsx b/src/components/ui/toast.tsx index 72e4f69ed..5d18a7b51 100644 --- a/src/components/ui/toast.tsx +++ b/src/components/ui/toast.tsx @@ -16,7 +16,7 @@ const ToastViewport = React.forwardRef< - + )); ToastClose.displayName = ToastPrimitives.Close.displayName;