File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
ts-grpc-react-admin/src/pages/admin_user Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { joiResolver } from "@hookform/resolvers/joi";
66import InputField from "../../components/InputField" ;
77import ErrorMessage from "../../components/ErrorMessage" ;
88import { Link } from "react-router-dom" ;
9- // import { UseChangePasswordHook } from "../../hooks/admin_user/UseChangePasswordHook";
9+ import { UseChangePasswordHook } from "../../hooks/admin_user/UseChangePasswordHook" ;
1010// import { ChangeAdminUserPasswordRequest } from "../../grpc_generated/admin_user_pb";
1111
1212export const AdminUserChangePasswordPage = ( ) => {
@@ -19,7 +19,7 @@ export const AdminUserChangePasswordPage = () => {
1919 } = useForm < ChangePasswordType > ( {
2020 resolver : joiResolver ( UseChangePasswordAdminUserSchema ( ) , { allowUnknown : true } ) ,
2121 } )
22- // const {mutate, error} = UseChangePasswordHook();
22+ const { error} = UseChangePasswordHook ( ) ;
2323
2424 const submitHandler = async ( data : any ) => {
2525 // const request = new ChangeAdminUserPasswordRequest()
You can’t perform that action at this time.
0 commit comments