Rev 1773 | Rev 2144 | Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |
import React from 'react'
import Feed from '../feed-template/Feed'
import EmptySection from '@app/components/UI/EmptySection'
const FeedList = ({ feeds = [] }) => {
if (!feeds.length) {
return <EmptySection message='No hay publicaciones' />
}
return (
<>
{feeds.map((feed) => (
<Feed key={feed.feed_uuid} id={feed.feed_unique} />
))}
</>
)
}
export default FeedList