import { memo } from 'react' import { useTranslation } from 'react-i18next' import { useStore } from './store' import { XClose } from '@/app/components/base/icons/src/vender/line/general' import { FeaturesChoose, FeaturesPanel, } from '@/app/components/base/features' const Features = () => { const { t } = useTranslation() const setShowFeaturesPanel = useStore(state => state.setShowFeaturesPanel) return (
{t('workflow.common.features')}
setShowFeaturesPanel(false)} >
{}, }} annotationProps={{ onEmbeddingChange: () => {}, onScoreChange: () => {}, }} />
) } export default memo(Features)