Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 3261 Rev 3395
Línea 27... Línea 27...
27
import LoadingWrapper from '@components/common/loading-wrapper'
27
import LoadingWrapper from '@components/common/loading-wrapper'
28
import List from '@components/common/list'
28
import List from '@components/common/list'
29
import Feed from '@components/dashboard/feed/feed'
29
import Feed from '@components/dashboard/feed/feed'
Línea 30... Línea 30...
30
 
30
 
31
const DashboardPage = () => {
-
 
32
  const { feeds, timelineUrl, currentPage, loading, pages } = useSelector(
-
 
33
    ({ feed }) => feed
-
 
34
  )
31
const DashboardPage = () => {
35
  const dispatch = useDispatch()
-
 
Línea 36... Línea 32...
36
  const isMobile = useMediaQuery('(max-width: 900px)')
32
  const dispatch = useDispatch()
37
 
33
 
Línea -... Línea 34...
-
 
34
  const { id } = useParams()
-
 
35
  const { data } = useFetch(id ? `/dashboard/feed/${id}` : '/dashboard')
-
 
36
 
-
 
37
  const { feeds, timelineUrl, currentPage, loading, pages } = useSelector(
38
  const { id } = useParams()
38
    ({ feed }) => feed
Línea 39... Línea 39...
39
  const { data } = useFetch(id ? `/dashboard/feed/${id}` : '/dashboard')
39
  )
40
 
40
  const isMobile = useMediaQuery('(max-width: 900px)')
41
  const allFeeds = feeds.allIds.map((id) => feeds.byId[id])
41
  const allFeeds = feeds.allIds.map((id) => feeds.byId[id])