diff --git a/frontend/src/scripts/index.js b/frontend/src/scripts/index.js index 7fd0377..44a8952 100644 --- a/frontend/src/scripts/index.js +++ b/frontend/src/scripts/index.js @@ -97,7 +97,7 @@ class Main extends Component { showPlayButton={false} startIndex={this.state.currentImage} showThumbnails={false} - renderCustomControls={() => {this.renderCloseButton}} + renderCustomControls={() => {this.renderCloseButton()}} /> }