Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 1032 Rev 1033
Línea 49... Línea 49...
49
  } = props.feed;
49
  } = props.feed;
Línea 50... Línea 50...
50
 
50
 
Línea 51... Línea 51...
51
  const [totalComments, setTotalComments] = useState(owner_comments || 0);
51
  const [totalComments, setTotalComments] = useState(owner_comments || 0);
52
 
52
 
53
  // Destructuring redux
53
  // Destructuring redux
Línea 54... Línea 54...
54
  const { feedType } = props;
54
  /* const { feedType } = props; */
Línea 55... Línea 55...
55
  const { deleteFeed, addNotification, openShareModal } = props;
55
  const { deleteFeed, addNotification, openShareModal } = props;
Línea 68... Línea 68...
68
 
68
 
69
  useEffect(() => { 
69
  useEffect(() => { 
70
    setOwnerShared(owner_shared) 
70
    setOwnerShared(owner_shared) 
Línea -... Línea 71...
-
 
71
  }, [owner_shared]);
-
 
72
 
-
 
73
  useEffect(() => { 
-
 
74
    console.log(props)
71
  }, [owner_shared]);
75
  }, []);
72
 
76
 
73
  const handleClose = () => setShow(false);
77
  const handleClose = () => setShow(false);
74
  const handleShow = () => setShow(true);
78
  const handleShow = () => setShow(true);
75
  const deleteFeedHandler = () => {
79
  const deleteFeedHandler = () => {
Línea 490... Línea 494...
490
  deleteFeed: (feedId) => deleteFeed(feedId),
494
  deleteFeed: (feedId) => deleteFeed(feedId),
491
  openShareModal: (postUrl, modalType, feedType, feed_unique) => OpenShareModalAction(postUrl, modalType, feedType, feed_unique),
495
  openShareModal: (postUrl, modalType, feedType, feed_unique) => OpenShareModalAction(postUrl, modalType, feedType, feed_unique),
492
  addNotification: (notification) => addNotification(notification),
496
  addNotification: (notification) => addNotification(notification),
493
};
497
};
Línea 494... Línea 498...
494
 
498