Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
sidhant-khamankar committed Apr 10, 2021
1 parent 19a0ef2 commit 9bded70
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
"uuid": "^8.3.2"
},
"devDependencies": {
"nyc": "^15.1.0",
"chai": "^4.3.3",
"chai-http": "^4.3.0",
"mocha": "^8.3.1"
"mocha": "^8.3.1",
"nyc": "^15.1.0"
}
}
5 changes: 5 additions & 0 deletions frontend/src/Doctorlogin/LoginForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ const LoginForm = () => {
id='password'
placeholder='your password here'
onChange={(e) => setPassword(e.target.value)}
onKeyPress={(target) => {
if (target.charCode == 13) {
login();
}
} }
/>
</Col>
</FormGroup>
Expand Down

0 comments on commit 9bded70

Please sign in to comment.