new changes

This commit is contained in:
Niranjan
2026-04-07 03:49:12 +05:30
parent b7c5a19eca
commit d737072438
4 changed files with 5 additions and 5 deletions

View File

@@ -58,7 +58,7 @@ export function FtpPage() {
.finally(() => setCreating(false))
}
const handleChangePassword = (e: React.FormEvent, id: number) => {
const handleChangePassword = (e: React.FormEvent<HTMLFormElement>, id: number) => {
e.preventDefault()
const form = e.currentTarget
const password = (form.elements.namedItem('new_password') as HTMLInputElement).value