Skip to content

Commit

Permalink
Fixed typescript issue for signupinvites
Browse files Browse the repository at this point in the history
  • Loading branch information
vmatsiiako committed Dec 9, 2022
1 parent 059f15b commit 9ee0c8f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions frontend/pages/settings/personal/[id].js
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,13 @@ export default function PersonalSettings() {
label="New Password"
onChangeHandler={(password) => {
setNewPassword(password);
passwordCheck(
passwordCheck({
password,
setPasswordErrorLength,
setPasswordErrorNumber,
setPasswordErrorLowerCase,
false
);
currentErrorCheck: false,
});
}}
type="password"
value={newPassword}
Expand Down
6 changes: 3 additions & 3 deletions frontend/pages/signupinvite.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,13 +204,13 @@ export default function SignupInvite() {
label="Password"
onChangeHandler={(password) => {
setPassword(password);
passwordCheck(
passwordCheck({
password,
setPasswordErrorLength,
setPasswordErrorNumber,
setPasswordErrorLowerCase,
false
);
currentErrorCheck: false,
});
}}
type="password"
value={password}
Expand Down

0 comments on commit 9ee0c8f

Please sign in to comment.