diff --git a/index.js b/index.js index a865923..ae2cf81 100644 --- a/index.js +++ b/index.js @@ -626,7 +626,7 @@ exports.decorateTerm = (Term, {React}) => { } } if (this.props.onDecorated) { - this.onDecorated(term); + this.props.onDecorated(term); } }