Comparing version 0.8.6 to 0.8.7
@@ -347,3 +347,4 @@ 'use strict'; | ||
value: function render() { | ||
return this.state.condition ? this.props.then : this.props.else || React.createElement('span', null); | ||
var x = (this.state.condition ? this.props.then : this.props.else) || React.createElement('span', null); | ||
return typeof x === 'function' ? x() : x; | ||
} | ||
@@ -350,0 +351,0 @@ }]); |
{ | ||
"name": "oo7-react", | ||
"version": "0.8.6", | ||
"version": "0.8.7", | ||
"description": "The Reactive Bond API", | ||
@@ -33,3 +33,3 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"oo7": "^0.7.5", | ||
"oo7": "^0.7.6", | ||
"react": "^16.5.2" | ||
@@ -44,3 +44,3 @@ }, | ||
}, | ||
"gitHead": "9fd1655efe9357638cfac030f5cb646b35cf58cf" | ||
"gitHead": "6fbc6695e5fc493b9819980ada4df9f1e53ae3d9" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30407
462
Updatedoo7@^0.7.6