Skip to content

Commit 25a6bbd

Browse files
committed
Update UseChangePasswordHook.ts
1 parent 0792d68 commit 25a6bbd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ts-grpc-react-admin/src/hooks/admin_user/UseChangePasswordHook.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import {useMutation} from "@tanstack/react-query";
2-
import {useNavigate} from "react-router-dom";
2+
// import {useNavigate} from "react-router-dom";
33
import {AdminUserClient} from "../../grpc_generated/Admin_userServiceClientPb";
44
import { GetAdminUserRequest} from "../../grpc_generated/admin_user_pb";
55

66
export const UseChangePasswordHook = () => {
77
const backend_url: string = process.env.REACT_APP_BACKEND_BASE_URL ?? "http://localhost:50051";
88
const client = new AdminUserClient(backend_url);
9-
const redirect = useNavigate();
9+
// const redirect = useNavigate();
1010

1111
return useMutation({
1212
mutationFn: (request: any) => {

0 commit comments

Comments
 (0)