From b919d8b1c43aedb7d501561031b3193486b9983c Mon Sep 17 00:00:00 2001 From: Herryanto Siatono Date: Wed, 30 Dec 2015 23:32:23 +0800 Subject: [PATCH] fix undefined createOptions var --- lib/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }