Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 2144 | Rev 3259 | Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |

import Feed from '@components/dashboard/feed/feed'
import EmptySection from '@components/UI/EmptySection'
import React from 'react'

const FeedList = ({ feeds = [] }) => {
  if (!feeds.length) {
    return <EmptySection message='No hay publicaciones' />
  }

  return feeds.map(({ feed_unique, feed_uuid }) => (
    <Feed key={feed_uuid} id={feed_unique} />
  ))
}

export default FeedList