Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 3307 Rev 3308
Línea 70... Línea 70...
70
  const [sharedState, setSharedState] = useState(owner_shared);
70
  const [sharedState, setSharedState] = useState(owner_shared);
71
  const [likesState, setLikesState] = useState(feed_likes);
71
  const [likesState, setLikesState] = useState(feed_likes);
72
  const [isReadMoreActive, setIsReadMoreActive] = useState(false);
72
  const [isReadMoreActive, setIsReadMoreActive] = useState(false);
73
  const [showConfirmModal, setShowConfirmModal] = useState(false);
73
  const [showConfirmModal, setShowConfirmModal] = useState(false);
74
  const [displayOption, setDisplayOption] = useState(false)
74
  const [displayOption, setDisplayOption] = useState(false)
-
 
75
  const [shareOptions, setShareOptions] = useState(false)
75
  const [show, setShow] = useState(false);
76
  const [show, setShow] = useState(false);
76
  const deleteButton = useRef();
77
  const deleteButton = useRef();
Línea 77... Línea 78...
77
 
78
 
78
  const handleClose = () => setShow(false);
79
  const handleClose = () => setShow(false);
Línea 439... Línea 440...
439
              </button>
440
              </button>
440
            </li>
441
            </li>
441
            <li className="position-relative">
442
            <li className="position-relative">
442
              <button
443
              <button
443
                type="button"
444
                type="button"
444
                id={`btn-comments-${feed_unique}`}
-
 
445
                className="btn-indicator"
445
                className="btn-indicator"
-
 
446
                onClick={()=> setShareOptions(!shareOptions)}
446
              >
447
              >
447
                <BiShareAlt />
448
                <BiShareAlt />
448
              </button>
449
              </button>
-
 
450
              {
-
 
451
                shareOptions &&
449
              <div className="ext_share">
452
                <div className="ext_share">
450
                <FacebookShareButton
453
                  <FacebookShareButton
451
                  url={`${window.location.hostname}${feed_share_external_url}`}
454
                    url={`${window.location.hostname}${feed_share_external_url}`}
452
                >
455
                  >
453
                  <FacebookIcon size={32} round />
456
                    <FacebookIcon size={32} round />
454
                </FacebookShareButton>
457
                  </FacebookShareButton>
455
              </div>
458
                </div>
-
 
459
              }
456
            </li>
460
            </li>
457
          </ul>
461
          </ul>
458
        </div>
462
        </div>
459
        {commentsRender}
463
        {commentsRender}
460
        <div>
464
        <div>