Skip to content

Commit

Permalink
Revert "remove unused vars"
Browse files Browse the repository at this point in the history
This reverts commit 56d68d1.
  • Loading branch information
Dert1129 committed Apr 10, 2024
1 parent 56d68d1 commit a03feba
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/Slides/Menu/SlideList.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ class SlideList extends Component {
let slidePosition = this.state.slidePosition + 1;
let currentSlideTypeIndex = this.state.currentSlideTypeIndex;
let slideTypes = Object.keys(this.props.selectedParticipant.slides);
let openItems = this.state.openItems;
const openAccordion = openItems.includes(currentSlideTypeIndex);
slideTypes.sort();
slideTypes.reverse();

Expand Down Expand Up @@ -96,6 +98,8 @@ handlePreviousSlide() {
let slidePosition = this.state.slidePosition - 1;
let currentSlideTypeIndex = this.state.currentSlideTypeIndex;
let slideTypes = Object.keys(this.props.selectedParticipant.slides);
let openItems = this.state.openItems;
const openAccordion = openItems.includes(currentSlideTypeIndex);
slideTypes.sort();
slideTypes.reverse();

Expand Down

0 comments on commit a03feba

Please sign in to comment.