Skip to content

Commit

Permalink
fix: alternating style background for sections
Browse files Browse the repository at this point in the history
  • Loading branch information
marianzburlea committed Sep 4, 2019
1 parent 0d3070a commit 3ecc368
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/component/section-list/section-list.component.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,17 +110,17 @@ const SectionList = ({ data = [], handleUpdate, course = {} }) => {
return (
<Draggable key={section.id} draggableId={section.id} index={index}>
{(draggableProvided, draggableSnapshot) => (
<div
<StyledSectionItem
ref={draggableProvided.innerRef}
{...draggableProvided.draggableProps}
{...draggableProvided.dragHandleProps}
>
<StyledSectionItem key={id}>
<div key={id}>
<SectionItem {...sectionItemPropList} />
{id === showAddLectureId && <LecturePanel {...lecturePanelPropList} />}
{renderLectureList(lectureList, id)}
</StyledSectionItem>
</div>
</div>
</StyledSectionItem>
)}
</Draggable>
)
Expand Down

0 comments on commit 3ecc368

Please sign in to comment.