new changes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user