diff --git a/client/src/components/Chat/Input/AskUserQuestionPopover.tsx b/client/src/components/Chat/Input/AskUserQuestionPopover.tsx index e0c0f85c85..813a0d9390 100644 --- a/client/src/components/Chat/Input/AskUserQuestionPopover.tsx +++ b/client/src/components/Chat/Input/AskUserQuestionPopover.tsx @@ -1,7 +1,7 @@ import { memo, useEffect, useRef } from 'react'; import { useWatch } from 'react-hook-form'; import { Button, TooltipAnchor } from '@librechat/client'; -import { ChevronDown, CornerDownLeft, TriangleAlert, X } from 'lucide-react'; +import { ChevronDown, CornerDownLeft, TriangleAlert } from 'lucide-react'; import AskUserQuestions from '~/components/Chat/Messages/Content/AskUserQuestions'; import useAskAnswerMode from '~/hooks/Input/useAskAnswerMode'; import AskOptions from '~/components/Chat/ask/options'; @@ -43,7 +43,7 @@ function AskUserQuestionPopoverContent({ function AskUserQuestionsPopoverPanel({ ask }: { ask: ReturnType }) { const localize = useLocalize(); - const { liveAsk, collapse, dismiss } = ask; + const { liveAsk, collapse } = ask; const questions = liveAsk?.questions; if (liveAsk == null || questions == null || questions.length === 0) { return null; @@ -59,24 +59,20 @@ function AskUserQuestionsPopoverPanel({ ask }: { ask: ReturnType -
- - -
+ +