Línea -... |
Línea 1... |
- |
|
1 |
/* eslint-disable react/prop-types */
|
1 |
import React, { useEffect, useRef } from "react";
|
2 |
import React, { useEffect, useRef } from "react";
|
2 |
import { useState } from "react";
|
3 |
import { useState } from "react";
|
3 |
import { connect } from "react-redux";
|
4 |
import { connect } from "react-redux";
|
4 |
import { axios } from "../../../utils";
|
5 |
import { axios } from "../../../utils";
|
5 |
import CompanyFollowersHelper from "../../../shared/helpers/company-followers-helper/CompanyFollowers";
|
6 |
import CompanyFollowersHelper from "../../../shared/helpers/company-followers-helper/CompanyFollowers";
|
6 |
import parse from "html-react-parser";
|
7 |
import parse from "html-react-parser";
|
7 |
import { addNotification } from "../../../redux/notification/notification.actions";
|
8 |
import { addNotification } from "../../../redux/notification/notification.actions";
|
8 |
import Spinner from "../../../shared/loading-spinner/Spinner";
|
9 |
import Spinner from "../../../shared/loading-spinner/Spinner";
|
9 |
import { setTimelineUrl } from "../../../redux/feed/feed.actions";
|
10 |
import { setTimelineUrl } from "../../../redux/feed/feed.actions";
|
10 |
import FeedSection from "../../../dashboard/components/feed-section/FeedSection";
|
11 |
import FeedSection from "../../../dashboard/components/feed-section/FeedSection";
|
11 |
import styles from "../../../shared/helpers/people-you-may-know/peopleYouMayKnow.module.scss";
|
- |
|
Línea 12... |
Línea 12... |
12 |
|
12 |
|
13 |
const TABS = {
|
13 |
const TABS = {
|
14 |
FEEDS: "FEEDS",
|
14 |
FEEDS: "FEEDS",
|
15 |
INFO: "INFO",
|
15 |
INFO: "INFO",
|
Línea 432... |
Línea 432... |
432 |
</div>
|
432 |
</div>
|
433 |
<div className="mb-2" id="suggestions-similar-groups" style={{ height: '80%', overflowY: 'auto' }}>
|
433 |
<div className="mb-2" id="suggestions-similar-groups" style={{ height: '80%', overflowY: 'auto' }}>
|
434 |
{suggestionCompanies.length
|
434 |
{suggestionCompanies.length
|
435 |
? getData().map(element => {
|
435 |
? getData().map(element => {
|
436 |
return (
|
436 |
return (
|
437 |
<div className={styles.user} key={element.id}>
|
437 |
<div className='user' key={element.id}>
|
438 |
<div className="w-100 d-flex align-items-center" style={{ gap: '.5rem' }}>
|
438 |
<div className="w-100 d-flex align-items-center" style={{ gap: '.5rem' }}>
|
439 |
<a href={element.profile} target="_blank" rel="noreferrer">
|
439 |
<a href={element.profile} target="_blank" rel="noreferrer">
|
440 |
<img src={element.image} alt={`${element.name} profile image`} />
|
440 |
<img src={element.image} alt={`${element.name} profile image`} />
|
441 |
</a>
|
441 |
</a>
|
442 |
<h4>{element.name}</h4>
|
442 |
<h4>{element.name}</h4>
|