import React, { useContext } from "react" import { HistoryContext } from "@/components/Layouts/Layout.tsx" import { PanelLeftIcon } from "lucide-react" import { Button } from "antd" import { PlusOutlined } from "@ant-design/icons" import { useMessageOption } from "@/hooks/useMessageOption.tsx" import { useTranslation } from "react-i18next" export const Header = () => { const { show, setShow } = useContext(HistoryContext) const { t } = useTranslation(["option", "common", "settings"]) const { clearChat } = useMessageOption() return (