Skip to content

Commit a7d8bd2

Browse files
committed
fix: remove type annotation from js code
1 parent 354bf73 commit a7d8bd2

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

frontend/src/email-handler.html

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -238,12 +238,10 @@
238238
.then((email) => {
239239
var accountEmail = email;
240240

241-
var newPassword =
242-
qs < HTMLInputElement > "main .resetPassword .pwd"?.getValue();
243-
var newPasswordConfirm =
244-
qs <
245-
HTMLInputElement >
246-
"main .resetPassword .pwd-confirm"?.getValue();
241+
var newPassword = qs("main .resetPassword .pwd")?.getValue();
242+
var newPasswordConfirm = qs(
243+
"main .resetPassword .pwd-confirm",
244+
)?.getValue();
247245

248246
if (newPassword !== newPasswordConfirm) {
249247
alert("Passwords do not match");

0 commit comments

Comments
 (0)