diff --git a/src/components/pages/index.js b/src/components/pages/index.js index d83158a..9378411 100644 --- a/src/components/pages/index.js +++ b/src/components/pages/index.js @@ -211,6 +211,11 @@ export default class Pages extends PureComponent { } renderPage(page, index) { + + if(!page) { + return <> + } + let { width, height, progress } = this.state; let { children, horizontal, rtl } = this.props;