Rev 3259 | AutorÃa | Comparar con el anterior | Ultima modificación | Ver Log |
import LazyFeed from '@components/dashboard/feed/lazy-feed';
import EmptySection from '@components/UI/EmptySection';
import React from 'react';
const FeedList = ({ feeds = [] }) => {
if (!feeds.length) {
return <EmptySection message='No hay publicaciones para mostrar' />;
}
return feeds.map(({ feed_unique, feed_uuid }) => <LazyFeed key={feed_uuid} id={feed_unique} />);
};
export default FeedList;