Skip to content

Commit

Permalink
minor changes for registration and update infos
Browse files Browse the repository at this point in the history
  • Loading branch information
Klivree committed Apr 11, 2022
1 parent 4411e6b commit a735da4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,6 @@ export default function ProfilePatient() {
helperText="Date of birth"
value={editFormData.dob}
onChange={handleFormChange}
disabled={true}
/>
<p className={classes.field}>Address</p>
<TextField
Expand Down
2 changes: 1 addition & 1 deletion src/components/Authentification/UserLogin/UserLogin.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export default function UsersLogin() {
const params = {
TableName: "admin",
Key: {
"adminID": String('2')
"adminID": String('1')
}
}
const result = await docClient.get(params).promise()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export default function SignUpPatient() {
"email": String(email),
"firstName": String(firstName),
"lastName": String(lastName),
"RAMQ": String(ramqNumber),
"ramQNumber": String(ramqNumber),
"insurance": Number(insurance),
"password": String(password)
}
Expand Down Expand Up @@ -193,10 +193,10 @@ export default function SignUpPatient() {
id="insuranceNumber"
label="0000000"
name="insurance number"
autoComplete=""
helperText="Insurance number"
data-testid="insuranceNumber"
value={insurance}
onChange={e => setInsurance(e.target.value)}
/>
<TextField
data-testid="sign-up-psw1"
Expand Down

0 comments on commit a735da4

Please sign in to comment.