Skip to content

Commit

Permalink
Merge pull request #99 from mitmedialab/dsjen/fix-single-reg
Browse files Browse the repository at this point in the history
Fixed error when pressing "Enter" in SingleRegistrationWrapper
  • Loading branch information
dsjen authored Jan 17, 2019
2 parents 1118568 + 49790ef commit bdcb171
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Loader from 'components/Loader/Loader';
class SingleRegistrationWrapper extends Component {
handleKeyPress = (e) => {
if (e.key === 'Enter') {
this.checkAndDispatch(e);
this.props.checkAndDispatch(e);
}
}

Expand Down
2 changes: 1 addition & 1 deletion client/app/constants/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ export const DELETE_USER_REQUEST = 'DELETE_USER_REQUEST';
export const DELETE_USER_SUCCESS = 'DELETE_USER_SUCCESS';
export const DELETE_USER_FAILURE = 'DELETE_USER_FAILURE';

export const VERSION = 'v1.8.2';
export const VERSION = 'v1.8.3';

export const API_URL = ''; // process.env.NODE_ENV === 'production' ? '': 'http://localhost:5000/'

0 comments on commit bdcb171

Please sign in to comment.