Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 6846 Rev 7085
Línea 1... Línea 1...
1
import React, { useState, useEffect } from 'react'
1
import React, { useState, useEffect } from 'react'
2
import DefaultNavbar from './default/Navbar'
-
 
3
import LinkendInHeader from './linkedin/Header'
-
 
4
import { axios } from '../../utils'
2
import { axios } from '../../utils'
5
import { getBackendVars } from '../../services/backendVars'
3
import { getBackendVars } from '../../services/backendVars'
Línea -... Línea 4...
-
 
4
 
-
 
5
import DefaultNavbar from './default/Navbar'
-
 
6
import LinkendInHeader from './linkedin/Header'
6
 
7
 
7
const Header = ({ theme = 1 }) => {
8
const Header = ({ theme = 1 }) => {
8
  const [backendVars, setBackendVars] = useState(null)
9
  const [backendVars, setBackendVars] = useState(null)
9
  const [notificationsCount, setNotificationsCount] = useState(0)
10
  const [notificationsCount, setNotificationsCount] = useState(0)
10
  const [messagesCount, setMessagesCount] = useState(0)
11
  const [messagesCount, setMessagesCount] = useState(0)