fix update lesson

This commit is contained in:
Primakov Alexandr Alexandrovich 2024-10-30 14:44:12 +03:00
parent 0034704af6
commit fd422da06f

View File

@ -91,7 +91,7 @@ export const Item: React.FC<ItemProps> = ({
onCancel={() => {
setEdit(false)
}}
lesson={{ id, name, date }}
lesson={{ _id: id, id, name, date }}
title={'Редактирование лекции'}
nameButton={'Сохранить'}
/>