Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 2144 Rev 2838
Línea -... Línea 1...
-
 
1
import Feed from '@components/dashboard/feed/feed'
-
 
2
import EmptySection from '@components/UI/EmptySection'
1
import React from 'react'
3
import React from 'react'
Línea 2... Línea -...
2
 
-
 
3
import Feed from '../feed-template/Feed'
-
 
4
import EmptySection from '@app/components/UI/EmptySection'
-
 
5
 
4
 
6
const FeedList = ({ feeds = [] }) => {
5
const FeedList = ({ feeds = [] }) => {
7
  if (!feeds.length) {
6
  if (!feeds.length) {
8
    return <EmptySection message='No hay publicaciones' />
7
    return <EmptySection message='No hay publicaciones' />
Línea 9... Línea 8...
9
  }
8
  }
10
 
9
 
11
  return feeds.map((feed) => (
10
  return feeds.map(({ feed_unique, feed_uuid }) => (
12
    <Feed key={feed.feed_uuid} id={feed.feed_unique} />
11
    <Feed key={feed_uuid} id={feed_unique} />
Línea 13... Línea 12...
13
  ))
12
  ))