| Línea 1... |
Línea 1... |
| 1 |
import React, { useEffect, useRef } from "react";
|
1 |
import React, { useEffect, useRef } from "react";
|
| 2 |
import { useState } from "react";
|
2 |
import { useState } from "react";
|
| 3 |
import { connect } from "react-redux";
|
3 |
import { connect } from "react-redux";
|
| 4 |
import styled from "styled-components";
|
- |
|
| 5 |
import { axios } from "../../../utils";
|
4 |
import { axios } from "../../../utils";
|
| 6 |
import CompanyFollowersHelper from "../../../shared/helpers/company-followers-helper/CompanyFollowers";
|
5 |
import CompanyFollowersHelper from "../../../shared/helpers/company-followers-helper/CompanyFollowers";
|
| 7 |
import parse from "html-react-parser";
|
6 |
import parse from "html-react-parser";
|
| 8 |
import { addNotification } from "../../../redux/notification/notification.actions";
|
7 |
import { addNotification } from "../../../redux/notification/notification.actions";
|
| 9 |
import Spinner from "../../../shared/loading-spinner/Spinner";
|
8 |
import Spinner from "../../../shared/loading-spinner/Spinner";
|
| Línea 435... |
Línea 434... |
| 435 |
{suggestionCompanies.length
|
434 |
{suggestionCompanies.length
|
| 436 |
? getData().map(element => {
|
435 |
? getData().map(element => {
|
| 437 |
return (
|
436 |
return (
|
| 438 |
<div className={styles.user} key={element.id}>
|
437 |
<div className={styles.user} key={element.id}>
|
| 439 |
<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' }}>
|
| 440 |
<a href={element.profile} target="_blank">
|
439 |
<a href={element.profile} target="_blank" rel="noreferrer">
|
| 441 |
<img src={element.image} alt={`${element.name} profile image`} />
|
440 |
<img src={element.image} alt={`${element.name} profile image`} />
|
| 442 |
</a>
|
441 |
</a>
|
| 443 |
<h4>{element.name}</h4>
|
442 |
<h4>{element.name}</h4>
|
| 444 |
</div>
|
443 |
</div>
|
| 445 |
<div className="w-100 d-flex align-items-center justify-content-start" style={{ gap: '.5rem' }}>
|
444 |
<div className="w-100 d-flex align-items-center justify-content-start" style={{ gap: '.5rem' }}>
|