import { AnimatePresence, motion } from "framer-motion"; import { useTranslation } from "react-i18next"; import { AiOutlineLoading3Quarters } from "react-icons/ai"; import { ChatInput, KnowledgeToFeed } from "./components"; import { useActionBar } from "./hooks/useActionBar"; export const ActionsBar = (): JSX.Element => { const { hasPendingRequests, setHasPendingRequests, shouldDisplayFeedCard } = useActionBar(); const { t } = useTranslation(["chat"]); return ( <> {hasPendingRequests && (