Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 3837 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 SuggestedGroupsHelper = ({ suggestedClassname }) => {
-
 
7
 
6
const SuggestedGroupsHelper = ({ suggestedClassname }) => {
8
  // states
7
 
Línea 9... Línea 8...
9
  const [suggestedGroups, setSuggestedGroups] = useState([]);
8
  const [suggestedGroups, setSuggestedGroups] = useState([]);
10
  const [lookMore, setLookMore] = useState(false);
9
  const [lookMore, setLookMore] = useState(false);
Línea 25... Línea 24...
25
      infoFollows = infoFollows.slice(0, 3);
24
      infoFollows = infoFollows.slice(0, 3);
26
    }
25
    }
27
    return infoFollows
26
    return infoFollows
28
  }
27
  }
29
  return (
28
  return (
30
    <div className={`${suggestedClassname} peopleYouMayKnow`}>
29
    <div className={`${suggestedClassname || ''} peopleYouMayKnow`}>
31
      <div className="sd-title d-flex align-items-center justify-content-between">
30
      <div className="sd-title d-flex align-items-center justify-content-between">
32
        <h3>Grupos:</h3>
31
        <h3>Grupos:</h3>
33
        {suggestedGroups.length >= 3 &&
32
        {suggestedGroups.length >= 3 &&
34
          <a
33
          <a
35
            href="#"
34
            href="#"