@@ -125,9 +125,7 @@ function Finance(props) {
};
useEffect(() => {
handleSearch();
- dispatch({
- type: 'user/fetch',
- });
+ if (!userList.length > 0) dispatch({ type: 'user/fetch' });
}, []);
return (
@@ -157,9 +157,7 @@ function FinanceProject(props) {