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