Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 4451 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 4451 Rev 4658
Línea 1... Línea 1...
1
/* eslint-disable react/prop-types */
1
/* eslint-disable react/prop-types */
2
import React, { useEffect, useState } from 'react'
2
import React, { useEffect, useState } from 'react'
3
import axios from '../../../../utils/axios'
3
import axios from '../../../../utils/axios'
4
import ExpandMoreIcon from '@mui/icons-material/ExpandMore'
4
import ExpandMoreIcon from '@mui/icons-material/ExpandMore'
5
import GroupIcon from '@mui/icons-material/Group'
-
 
6
import EmptySection from '../../../../shared/empty-section/EmptySection'
5
import EmptySection from '../../../../shared/empty-section/EmptySection'
-
 
6
import Avatar from '../../../../shared/Avatar/Avatar'
Línea 7... Línea 7...
7
 
7
 
Línea 8... Línea 8...
8
const HelpersContainer = () => {
8
const HelpersContainer = () => {
9
 
9
 
Línea 55... Línea 55...
55
        </div>
55
        </div>
56
      </section>
56
      </section>
Línea 57... Línea 57...
57
 
57
 
58
      <ul className={`helper__list ${displayMenu ? 'show' : 'hide'}`}>
58
      <ul className={`helper__list ${displayMenu ? 'show' : 'hide'}`}>
59
        {widgetData.length
59
        {widgetData.length
60
          ? dataSlice().map(({ id, name, profile }) =>
60
          ? dataSlice().map(({ id, name, profile, image }) =>
61
            <li key={id}>
61
            <li key={id}>
62
              <a href={profile} className='helper__list-item'>
62
              <a href={profile} className='helper__list-item'>
63
                <GroupIcon />
63
                <Avatar imageUrl={image} size='md' name={name} />
64
                <span>{name}</span>
64
                <span>{name}</span>
65
              </a>
65
              </a>
66
            </li>
66
            </li>
67
          )
67
          )