summaryrefslogtreecommitdiff
path: root/admin/src/pages/UpdateRequests/UpdateRequests.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'admin/src/pages/UpdateRequests/UpdateRequests.jsx')
-rw-r--r--admin/src/pages/UpdateRequests/UpdateRequests.jsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/admin/src/pages/UpdateRequests/UpdateRequests.jsx b/admin/src/pages/UpdateRequests/UpdateRequests.jsx
index 91629bd..7888e7f 100644
--- a/admin/src/pages/UpdateRequests/UpdateRequests.jsx
+++ b/admin/src/pages/UpdateRequests/UpdateRequests.jsx
@@ -4,7 +4,7 @@ import Button from '../../components/Button/Button';
import Header from '../../components/Header/Header';
import {
deleteUser,
- getUnverifiedUsers,
+ getUpdatingUsers,
updateUser,
} from '../../services/apiservice';
import {useQuery, useMutation} from 'react-query';
@@ -16,8 +16,8 @@ import Spinner from '../../components/Spinner/Spinner';
const UpdateRequests = () => {
const navigate = useNavigate();
const {data, isLoading, isError, refetch} = useQuery(
- 'unverified',
- getUnverifiedUsers
+ 'updating',
+ getUpdatingUsers
);
const deleteUse = useMutation((id) => deleteUser(id), {
onSuccess: () => {