Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 2194 Rev 2196
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 22... Línea 21...
22
import { addNotification } from '@app/redux/notification/notification.actions'
21
import './styles/linkedin.scss'
23
 
22
 
24
const LinkedInCompany = () => {
23
const LinkedInCompany = () => {
25
  const [backendVars, setBackendVars] = useState(null)
24
  const [backendVars, setBackendVars] = useState(null)
Línea 52... Línea 51...
52
    dispatch(setCurrentPage(currentPage))
51
    dispatch(setCurrentPage(currentPage))
53
    window.scrollTo(0, 0)
52
    window.scrollTo(0, 0)
54
  }
53
  }
Línea 55... Línea 54...
55
 
54
 
56
  useEffect(() => {
-
 
57
    try {
55
  useEffect(() => {
58
      dispatch(fetchFeeds(timelineUrl, currentPage))
-
 
59
    } catch (error) {
-
 
60
      dispatch(addNotification({ style: 'danger', msg: error.message }))
-
 
61
    }
56
    dispatch(fetchFeeds(timelineUrl, currentPage))
Línea 62... Línea 57...
62
  }, [timelineUrl, currentPage])
57
  }, [timelineUrl, currentPage])
63
 
58
 
64
  useEffect(() => {
59
  useEffect(() => {