fix update lesson
This commit is contained in:
parent
0034704af6
commit
fd422da06f
@ -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={'Сохранить'}
|
||||
/>
|
||||
|
Loading…
Reference in New Issue
Block a user