suspense loading added and made socket to trigger after login
This commit was merged in pull request #853.
This commit is contained in:
@@ -8,7 +8,7 @@ import AuthLayout from "../AuthLayout";
|
||||
function FbookRedirect() {
|
||||
const location = useLocation();
|
||||
const navigate = useNavigate();
|
||||
const userApi = useMemo(()=>{new usersService()},[]);
|
||||
const userApi = useMemo(()=> new usersService(),[]);
|
||||
const dispatch = useDispatch()
|
||||
|
||||
const queryParams = new URLSearchParams(location?.search);
|
||||
|
||||
@@ -8,7 +8,7 @@ import AuthLayout from "../AuthLayout";
|
||||
function Redirect() {
|
||||
const location = useLocation();
|
||||
const navigate = useNavigate();
|
||||
const userApi = useMemo(()=>{new usersService()},[]);
|
||||
const userApi = useMemo(()=> new usersService(),[]);
|
||||
const dispatch = useDispatch();
|
||||
|
||||
const queryParams = new URLSearchParams(location?.search);
|
||||
|
||||
@@ -15,7 +15,7 @@ export default function MarketPlace({ commonHeadData }) {
|
||||
const marketData = jobLists?.result_list;
|
||||
const categories = jobLists?.categories;
|
||||
const image_server = jobLists?.session_image_server;
|
||||
console.log('Lenth', marketData?.length )
|
||||
// console.log('Lenth', marketData?.length )
|
||||
|
||||
useEffect(()=>{
|
||||
if(!jobLists.loading && (marketData?.length < 1 || !marketData)){
|
||||
|
||||
Reference in New Issue
Block a user