summaryrefslogtreecommitdiffstats
path: root/web/react/components/find_team.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'web/react/components/find_team.jsx')
-rw-r--r--web/react/components/find_team.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/find_team.jsx b/web/react/components/find_team.jsx
index b70c98d47..bb1c6c7ea 100644
--- a/web/react/components/find_team.jsx
+++ b/web/react/components/find_team.jsx
@@ -17,7 +17,7 @@ export default class FindTeam extends React.Component {
var state = { };
- var email = this.refs.email.getDOMNode().value.trim().toLowerCase();
+ var email = React.findDOMNode(this.refs.email).value.trim().toLowerCase();
if (!email || !utils.isEmail(email)) {
state.email_error = 'Please enter a valid email address';
this.setState(state);