Skip to content
Snippets Groups Projects
Commit 2002af6c authored by Kegan Dougal's avatar Kegan Dougal
Browse files

Assign a default onFinished call to prevent TypeErrors being thrown.

parent 28b85bb2
Branches
Tags Chart-3.2.1
No related merge requests found
......@@ -34,6 +34,12 @@ var sdk = require('../../../index');
module.exports = React.createClass({
displayName: 'MemberInfo',
getDefaultProps: function() {
return {
onFinished: function() {}
};
},
componentDidMount: function() {
// work out the current state
if (this.props.member) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment