From 6353e88bdb58f1d53777f92d942384defc262f44 Mon Sep 17 00:00:00 2001 From: ido Date: Sun, 17 Apr 2016 10:20:13 +0300 Subject: [PATCH] fixed #116 --- src/reactTemplates.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reactTemplates.js b/src/reactTemplates.js index 1fbd53c..ca7880f 100644 --- a/src/reactTemplates.js +++ b/src/reactTemplates.js @@ -90,7 +90,7 @@ function reactImport(options) { if (options.native) { return 'react-native'; } - if (options.targetVersion === '0.14.0') { + if (options.targetVersion === '0.14.0' || options.targetVersion === '0.15.0') { return 'react'; } return 'react/addons';