diff --git a/client/src/components/Conversations/ConvoOptions/ShareButton.tsx b/client/src/components/Conversations/ConvoOptions/ShareButton.tsx index 34a4e50104f..3056e26fa81 100644 --- a/client/src/components/Conversations/ConvoOptions/ShareButton.tsx +++ b/client/src/components/Conversations/ConvoOptions/ShareButton.tsx @@ -4,19 +4,16 @@ import { useGetSharedLinkQuery } from 'librechat-data-provider/react-query'; import OGDialogTemplate from '~/components/ui/OGDialogTemplate'; import SharedLinkButton from './SharedLinkButton'; import { Spinner, OGDialog } from '~/components'; -import { useToastContext } from '~/Providers'; import { useLocalize } from '~/hooks'; export default function ShareButton({ conversationId, - title, open, onOpenChange, triggerRef, children, }: { conversationId: string; - title: string; open: boolean; onOpenChange: React.Dispatch>; triggerRef?: React.RefObject; @@ -81,7 +78,7 @@ export default function ShareButton({ )} - {share?.shareId !=== undefined && ( + {share?.shareId !== null && (
{sharedLink}