Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 1772 Rev 1773
Línea 3... Línea 3...
3
import Feed from '../feed-template/Feed'
3
import Feed from '../feed-template/Feed'
4
import EmptySection from '@app/components/UI/EmptySection'
4
import EmptySection from '@app/components/UI/EmptySection'
5
import Spinner from '@app/components/UI/Spinner'
5
import Spinner from '@app/components/UI/Spinner'
Línea 6... Línea 6...
6
 
6
 
-
 
7
const FeedList = ({ feeds = [], loading = false }) => {
7
const FeedList = ({ feeds = [], loading = false }) => {
8
  if (loading) {
-
 
9
    return <Spinner />
-
 
10
  }
-
 
11
 
-
 
12
  if (!feeds.length) {
-
 
13
    return <EmptySection message='No hay publicaciones' />
-
 
14
  }
-
 
15
 
-
 
16
  return (
-
 
17
    <>
-
 
18
      {feeds.map((feed) => (
-
 
19
        <Feed key={feed.feed_uuid} id={feed.feed_unique} />
-
 
20
      ))}
-
 
21
    </>
8
  return <Spinner />
22
  )
Línea 9... Línea 23...
9
}
23
}