style: fix prefer-const and prettier formatting issues
This commit is contained in:
@@ -224,7 +224,7 @@
|
||||
}
|
||||
|
||||
// when password changes, re-compute strength
|
||||
let passwordStrength = $derived(
|
||||
const passwordStrength = $derived(
|
||||
formData.password
|
||||
? (() => {
|
||||
const result = zxcvbn(formData.password);
|
||||
@@ -245,7 +245,7 @@
|
||||
);
|
||||
|
||||
// form completion check
|
||||
let isFormComplete = $derived(
|
||||
const isFormComplete = $derived(
|
||||
isLogin ||
|
||||
(formData.firstName.trim() &&
|
||||
formData.lastName.trim() &&
|
||||
|
||||
Reference in New Issue
Block a user