Bound on change function to react componenet

Этот коммит содержится в:
nickago
2015-09-02 12:54:01 -07:00
родитель c7cafb6ac7
Коммит 4fb839a089

Просмотреть файл

@@ -16,6 +16,7 @@ export default class UserProfile extends React.Component {
super(props);
this.uniqueId = nextId();
this.onChange = this.onChange.bind(this);
this.state = this.getStateFromStores(this.props.userId);
}