diff --git a/src/pages/lesson-list/components/item.tsx b/src/pages/lesson-list/components/item.tsx index 9674d7c..94bcc45 100644 --- a/src/pages/lesson-list/components/item.tsx +++ b/src/pages/lesson-list/components/item.tsx @@ -91,7 +91,7 @@ export const Item: React.FC = ({ onCancel={() => { setEdit(false) }} - lesson={{ id, name, date }} + lesson={{ _id: id, id, name, date }} title={'Редактирование лекции'} nameButton={'Сохранить'} />