summaryrefslogtreecommitdiffstats
path: root/web/react/components
diff options
context:
space:
mode:
authornickago <ngonella@calpoly.edu>2015-09-02 12:54:01 -0700
committernickago <ngonella@calpoly.edu>2015-09-02 12:54:01 -0700
commit4fb839a089cf48aad0885a9700e4dda626c5eb04 (patch)
tree2bf8ec0adaf3387834b386e85b735a2ee15c8dd1 /web/react/components
parentc7cafb6ac7404b62f38b48d3ec5782863abf203a (diff)
downloadchat-4fb839a089cf48aad0885a9700e4dda626c5eb04.tar.gz
chat-4fb839a089cf48aad0885a9700e4dda626c5eb04.tar.bz2
chat-4fb839a089cf48aad0885a9700e4dda626c5eb04.zip
Bound on change function to react componenet
Diffstat (limited to 'web/react/components')
-rw-r--r--web/react/components/user_profile.jsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/react/components/user_profile.jsx b/web/react/components/user_profile.jsx
index 0d10166f3..fbdcdca59 100644
--- a/web/react/components/user_profile.jsx
+++ b/web/react/components/user_profile.jsx
@@ -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);
}