Proyectos de Subversion LeadersLinked - SPA

Rev

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

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