Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 3843 | Rev 3894 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 3843 Rev 3892
Línea 3... Línea 3...
3
import { useEffect, useState } from "react";
3
import { useEffect, useState } from "react";
4
import { axios } from "../../../utils";
4
import { axios } from "../../../utils";
Línea 5... Línea 5...
5
 
5
 
Línea 6... Línea -...
6
const CompanyFollowersHelper = ({ companyId }) => {
-
 
7
 
6
const CompanyFollowersHelper = ({ companyId }) => {
8
  // states
7
 
Línea 9... Línea 8...
9
  const [companyFollowers, setCompanyFollowers] = useState([]);
8
  const [companyFollowers, setCompanyFollowers] = useState([]);
10
  const [lookMore, setLookMore] = useState(false);
9
  const [lookMore, setLookMore] = useState(false);
Línea 21... Línea 20...
21
    if (!lookMore) {
20
    if (!lookMore) {
22
      infoFollows = infoFollows.slice(0, 3);
21
      infoFollows = infoFollows.slice(0, 3);
23
    }
22
    }
24
    return infoFollows
23
    return infoFollows
25
  }
24
  }
-
 
25
 
26
  return (
26
  return (
27
    <div className="widget suggestions d-none d-md-block d-lg-block">
27
    <div className="peopleYouMayKnow">
28
      <div className="sd-title d-flex align-items-center justify-content-between">
28
      <div className="sd-title d-flex align-items-center justify-content-between">
29
        <h3>Seguidores:</h3>
29
        <h3>Seguidores:</h3>
30
        <a href="#"
30
        <a href="#"
31
          onClick={(e) => {
31
          onClick={(e) => {
32
            e.preventDefault()
32
            e.preventDefault()