Skip to content

Commit

Permalink
Fixed error when pressing "Enter" in SingleRegistrationWrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
dsjen committed Jan 17, 2019
1 parent 1118568 commit 49790ef
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 49790ef

Please sign in to comment.