| Línea 1... |
Línea 1... |
| 1 |
/* eslint-disable react/prop-types */
|
1 |
/* eslint-disable react/prop-types */
|
| 2 |
import React, { useEffect, useState, useRef } from 'react'
|
2 |
import React, { useEffect, useState, useRef } from 'react'
|
| 3 |
import ProfileInfo from '../../../../shared/profile/edit/profile-info/ProfileInfo'
|
- |
|
| 4 |
import MyGroups from '../../../../shared/helpers/my-groups-helper/MyGroups'
|
3 |
import MyGroups from '../../../../shared/helpers/my-groups-helper/MyGroups'
|
| 5 |
import SuggestedGroupsHelper from '../../../../shared/helpers/suggested-groups-helper/SuggestedGroupsHelper'
|
4 |
import SuggestedGroupsHelper from '../../../../shared/helpers/suggested-groups-helper/SuggestedGroupsHelper'
|
| 6 |
import SocialNetworks from '../../../../dashboard/components/home-section/SocialNetworks'
|
5 |
import SocialNetworks from '../../../../dashboard/components/home-section/SocialNetworks'
|
| - |
|
6 |
import ProfileInfo from '../../../../dashboard/components/home-section/ProfileInfo'
|
| Línea 7... |
Línea 7... |
| 7 |
|
7 |
|
| 8 |
const ResponsiveNavbar = ({ show, navbarVars, LABELS }) => {
|
8 |
const ResponsiveNavbar = ({ show, navbarVars, LABELS }) => {
|
| 9 |
// const { authorization } = props.companyVars
|
9 |
// const { authorization } = props.companyVars
|
| Línea 35... |
Línea 35... |
| 35 |
<nav
|
35 |
<nav
|
| 36 |
className={`responsiveNavbar ${shouldRender ? 'slideIn' : 'slideOut'} p-0`}
|
36 |
className={`responsiveNavbar ${shouldRender ? 'slideIn' : 'slideOut'} p-0`}
|
| 37 |
onAnimationEnd={handleUnmount}
|
37 |
onAnimationEnd={handleUnmount}
|
| 38 |
ref={responsiveNavbar}
|
38 |
ref={responsiveNavbar}
|
| 39 |
>
|
39 |
>
|
| 40 |
<ProfileInfo
|
- |
|
| 41 |
{...navbarVars}
|
40 |
<ProfileInfo {...navbarVars}/>
|
| 42 |
headerClasses="d-flex rounded-0"
|
- |
|
| 43 |
/>
|
- |
|
| 44 |
<MyGroups LABELS={LABELS} suggestedClassname="d-block" />
|
41 |
<MyGroups LABELS={LABELS} suggestedClassname="d-block" />
|
| 45 |
<SuggestedGroupsHelper suggestedClassname='d-block' />
|
42 |
<SuggestedGroupsHelper suggestedClassname='d-block' />
|
| 46 |
<SocialNetworks LABELS={LABELS} />
|
43 |
<SocialNetworks LABELS={LABELS} />
|
| 47 |
</nav>
|
44 |
</nav>
|
| 48 |
)
|
45 |
)
|