Permalink
Browse files

Fixing an error thrown in the CustomRender example

  • Loading branch information...
JedWatson committed Jan 31, 2017
1 parent 881873c commit ef894a37b8d3e6623502a044171ddeece7e3e3ff
Showing with 3 additions and 1 deletion.
  1. +3 −1 examples/src/components/CustomRender.js
@@ -12,7 +12,9 @@ var DisabledUpsellOptions = React.createClass({
},
setValue (value) {
this.setState({ value });
console.log('Support level selected:', value.label);
if (value) {
console.log('Support level selected:', value.label);
}
},
renderLink: function() {
return <a style={{ marginLeft: 5 }} href="/upgrade" target="_blank">Upgrade here!</a>;

0 comments on commit ef894a3

Please sign in to comment.