wip: get chapters

This commit is contained in:
swve 2022-10-31 18:08:38 +01:00
parent 40496f7ced
commit c2b3e51ad0
5 changed files with 53 additions and 12 deletions

View file

@ -22,7 +22,7 @@ function Chapter(props: any) {
<Draggable key={props.info.list.chapter.id} draggableId={props.info.list.chapter.id} index={props.index}>
{(provided, snapshot) => (
<ChapterWrapper {...provided.dragHandleProps} {...provided.draggableProps} ref={provided.innerRef} isDragging={snapshot.isDragging} key={props.info.list.chapter.id}>
<h3>{props.info.list.chapter.title}</h3>
<h3>{props.info.list.chapter.name}</h3>
<Droppable droppableId={props.info.list.chapter.id} type="element">
{(provided) => (
<ElementsList {...provided.droppableProps} ref={provided.innerRef}>