diff --git a/lib/client.js b/lib/client.js index 930ebc5..c2a0482 100644 --- a/lib/client.js +++ b/lib/client.js @@ -41,7 +41,7 @@ exports.boot = function boot(options, callback) { try { Router = require('react-router'); } catch (err) { - if (!Router && createOptions.routes) { + if (!Router && options.routes) { throw err; } }