diff --git a/src/components/SurahInfo/index.js b/src/components/SurahInfo/index.js index eeca9b19f..6aff87295 100644 --- a/src/components/SurahInfo/index.js +++ b/src/components/SurahInfo/index.js @@ -1,24 +1,27 @@ import React, { PropTypes } from 'react'; -import { surahType } from 'types'; +import { surahType, infoType } from 'types'; import Loader from 'quran-components/lib/Loader'; const style = require('./style.scss'); -const SurahInfo = ({ chapter, isShowingSurahInfo, onClose }) => { +const SurahInfo = ({ chapter, info, isShowingSurahInfo, onClose }) => { // So we don't need to load images and files unless needed if (!isShowingSurahInfo) return