minor fix

This commit is contained in:
Pooya Parsa 2017-08-18 15:29:32 +04:30
parent 5903319241
commit 2c4cf1ed4b

View File

@ -48,7 +48,7 @@ export default function webpackClientConfig () {
}
// Total pages
const totalPages = _this.routes.length
const totalPages = _this.routes ? _this.routes.length : 0
// A module is extracted into the vendor chunk when...
return (