Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 1811 Rev 2194
Línea 17... Línea 17...
17
import CompanyFollowers from '@app/components/company/CompanyFollowers'
17
import CompanyFollowers from '@app/components/company/CompanyFollowers'
18
import FeedList from '@app/components/dashboard/linkedin/feed-list/FeedList'
18
import FeedList from '@app/components/dashboard/linkedin/feed-list/FeedList'
19
import GroupInfo from '@app/components/widgets/linkedin/InfoWidget'
19
import GroupInfo from '@app/components/widgets/linkedin/InfoWidget'
Línea 20... Línea 20...
20
 
20
 
-
 
21
import './styles/linkedin.scss'
Línea 21... Línea 22...
21
import './styles/linkedin.scss'
22
import { addNotification } from '@app/redux/notification/notification.actions'
22
 
23
 
23
const LinkedInCompany = () => {
24
const LinkedInCompany = () => {
24
  const [backendVars, setBackendVars] = useState(null)
25
  const [backendVars, setBackendVars] = useState(null)
Línea 51... Línea 52...
51
    dispatch(setCurrentPage(currentPage))
52
    dispatch(setCurrentPage(currentPage))
52
    window.scrollTo(0, 0)
53
    window.scrollTo(0, 0)
53
  }
54
  }
Línea 54... Línea 55...
54
 
55
 
-
 
56
  useEffect(() => {
55
  useEffect(() => {
57
    try {
-
 
58
      dispatch(fetchFeeds(timelineUrl, currentPage))
-
 
59
    } catch (error) {
-
 
60
      dispatch(addNotification({ style: 'danger', msg: error.message }))
56
    dispatch(fetchFeeds(timelineUrl, currentPage))
61
    }
Línea 57... Línea 62...
57
  }, [timelineUrl, currentPage])
62
  }, [timelineUrl, currentPage])
58
 
63
 
59
  useEffect(() => {
64
  useEffect(() => {