diff --git a/frontend/src/scripts/index.js b/frontend/src/scripts/index.js index cfb4d04..b911750 100644 --- a/frontend/src/scripts/index.js +++ b/frontend/src/scripts/index.js @@ -68,6 +68,11 @@ class Main extends Component { togglefaq(){ this.setState({faq: !this.state.faq}); } + renderCloseButton(){ + return + } render(){ let photos_gallery = []; let photos_carousel = [] @@ -92,6 +97,7 @@ class Main extends Component { showPlayButton={false} startIndex={this.state.currentImage} showThumbnails={false} + renderCustomControls={this.renderCloseButton} /> }