import React, { useEffect } from 'react'; import cn from 'classnames'; import { LeftOutlined, RightOutlined } from '@ant-design/icons'; import { Button, Popover } from 'antd'; import { useStore } from 'App/mstore'; import { observer } from 'mobx-react-lite'; import AutoplayToggle from 'Shared/AutoplayToggle'; import { useTranslation } from 'react-i18next'; // import AutoplayToggle from "Components/Session/Player/ClipPlayer/AutoplayToggle"; interface Props {} function QueueControls(props: Props) { const { t } = useTranslation(); const { clipStore, projectsStore, sessionStore, searchStore } = useStore(); const previousId = clipStore.prevId; const { nextId } = clipStore; const nextHandler = () => { clipStore.next(); }; const prevHandler = () => { clipStore.prev(); }; return (