Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 1685 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1685 Rev 1686
Línea 34... Línea 34...
34
    if (isIntercepting) {
34
    if (isIntercepting) {
35
      onPagination()
35
      onPagination()
36
    }
36
    }
37
  }, [isIntercepting])
37
  }, [isIntercepting])
Línea 38... Línea -...
38
 
-
 
39
  if (!messages.length) {
-
 
40
    return (
-
 
41
      <EmptySection
-
 
42
        Icon={<Inbox />}
-
 
43
        message='No hay mensajes en esta conversación'
-
 
44
        align='center'
-
 
45
      />
-
 
46
    )
-
 
47
  }
-
 
48
 
38
 
49
  return (
39
  return (
-
 
40
    <MessagesContainer ref={scrollRef}>
-
 
41
      {!messages.length ? (
-
 
42
        <EmptySection
-
 
43
          Icon={<Inbox />}
-
 
44
          message='No hay mensajes en esta conversación'
-
 
45
          align='center'
-
 
46
        />
50
    <MessagesContainer ref={scrollRef}>
47
      ) : (
51
      {messages.map((message) => (
48
        messages.map((message) => (
-
 
49
          <Message onReport={onReport} message={message} key={message.id} />
52
        <Message onReport={onReport} message={message} key={message.id} />
50
        ))
Línea 53... Línea 51...
53
      ))}
51
      )}
54
 
52
 
55
      <p ref={ref}>.</p>
53
      <p ref={ref}>.</p>
56
      {loading ? (
54
      {loading ? (