Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 1085 Rev 1291
Línea 52... Línea 52...
52
  // react hook form
52
  // react hook form
53
  const { register, handleSubmit, errors } = useForm();
53
  const { register, handleSubmit, errors } = useForm();
Línea 54... Línea 54...
54
 
54
 
Línea 55... Línea 55...
55
  const dispatch = useDispatch()
55
  const dispatch = useDispatch()
56
 
56
 
57
  const [totalComments, setTotalComments] = useState(owner_comments || 0);
57
  const [totalComments, setTotalComments] = useState(comments.length || 0);
58
  const [feedIsLiked, setFeedIsLiked] = useState(feed_is_liked);
58
  const [feedIsLiked, setFeedIsLiked] = useState(feed_is_liked);
59
  const [commentsState, setCommentsState] = useState(comments);
59
  const [commentsState, setCommentsState] = useState(comments);
60
  const [sharedState, setSharedState] = useState(owner_shared);
60
  const [sharedState, setSharedState] = useState(owner_shared);