BUG - Assign Job with less than amount

This commit is contained in:
2023-08-21 22:41:21 +01:00
parent a0ba60a2bc
commit 7dcae39320
7 changed files with 145 additions and 80 deletions
+5 -12
View File
@@ -1,11 +1,4 @@
import React, {
Suspense,
lazy,
useCallback,
useEffect,
useMemo,
useState,
} from "react";
import React, { Suspense, lazy, useEffect, useState } from "react";
import { useSelector } from "react-redux";
import usersService from "../../services/UsersService";
import Layout from "../Partials/Layout";
@@ -38,7 +31,7 @@ const WalletRoutes = () => {
.catch(() => {
setWalletList({ loading: false, data: [] });
});
}
};
const getPaymentHistory = () => {
apiCall
@@ -53,7 +46,7 @@ const WalletRoutes = () => {
.catch(() => {
setPaymentHistory({ loading: false, data: [] });
});
}
};
useEffect(() => {
// const fetchData = async () => {
@@ -63,8 +56,8 @@ const WalletRoutes = () => {
// if (walletList.loading) {
// fetchData();
// }
getWalletList()
getPaymentHistory()
getWalletList();
getPaymentHistory();
}, [walletTable]);
return (