import { FC, memo, useState } from 'react' import { ReviewPanelResolvedThreadsButton } from './review-panel-resolved-threads-button' import { ReviewPanelTrackChangesMenu } from './review-panel-track-changes-menu' import ReviewPanelTrackChangesMenuButton from './review-panel-track-changes-menu-button' import MaterialIcon from '@/shared/components/material-icon' import { useLayoutContext } from '@/shared/context/layout-context' import SplitTestBadge from '@/shared/components/split-test-badge' import { useTranslation } from 'react-i18next' const ReviewPanelHeader: FC = () => { const [trackChangesMenuExpanded, setTrackChangesMenuExpanded] = useState(false) const { setReviewPanelOpen } = useLayoutContext() const { t } = useTranslation() return (
{t('review')}
{trackChangesMenuExpanded && }
) } export default memo(ReviewPanelHeader)