import { Add } from '@mui/icons-material'; import { Button } from '@mui/material'; import { ListItem } from '@reactive-resume/schema'; import { useTranslation } from 'next-i18next'; import Heading from '@/components/shared/Heading'; import List from '@/components/shared/List'; import { useAppDispatch } from '@/store/hooks'; import { setModalState } from '@/store/modal/modalSlice'; import { duplicateItem } from '@/store/resume/resumeSlice'; const Profiles = () => { const { t } = useTranslation(); const dispatch = useAppDispatch(); const handleAdd = () => { dispatch(setModalState({ modal: 'builder.sections.profile', state: { open: true } })); }; const handleEdit = (item: ListItem) => { dispatch(setModalState({ modal: 'builder.sections.profile', state: { open: true, payload: { item } } })); }; const handleDuplicate = (item: ListItem) => { dispatch(duplicateItem({ path: 'basics.profiles', value: item })); }; return ( <> ); }; export default Profiles;