Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 6469 Rev 6483
Línea 172... Línea 172...
172
  }, [])
172
  }, [])
Línea 173... Línea 173...
173
 
173
 
174
  useEffect(() => {
174
  useEffect(() => {
175
    if (!votes) return
175
    if (!votes) return
176
    votes.forEach((vote) => (voteRef.current += Number(vote)))
176
    votes.forEach((vote) => (voteRef.current += Number(vote)))
Línea 177... Línea 177...
177
  }, [])
177
  }, [votes])
178
 
178
 
179
  return (
179
  return (
180
    <form onChange={sendVote} className={styles.survey_form}>
180
    <form onChange={sendVote} className={styles.survey_form}>