reloads market job list when the api call fails
This commit was merged in pull request #834.
This commit is contained in:
@@ -231,6 +231,8 @@ const AuthRoute = ({ redirectPath = "/login", children }) => {
|
||||
getMyWalletList();
|
||||
}, [walletTable, isLogin.status]);
|
||||
|
||||
|
||||
// FUNCTION TO GET MARKET JOB LIST
|
||||
useEffect(() => {
|
||||
if((!loggedIn && !isLogin.status) || account_type == 'FAMILY'){ // DO NOT CALL THIS, IF USER ACCOUNT TYPE IS FAMILY
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user