Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 1650 Rev 1976
Línea 95... Línea 95...
95
  )
95
  )
Línea 96... Línea 96...
96
 
96
 
Línea 97... Línea 97...
97
  const ReactionButton = withReactions(InputOption)
97
  const ReactionButton = withReactions(InputOption)
98
 
-
 
99
  const addComment = (comment) => {
-
 
100
    const formData = new FormData()
-
 
101
    formData.append('comment', comment)
98
 
102
 
99
  const addComment = (comment) => {
Línea 103... Línea 100...
103
    axios.post(post.comments_add_url, formData).then((response) => {
100
    axios.post(post.comments_add_url, { comment }).then((response) => {
104
      const { success, data } = response.data
101
      const { success, data } = response.data
105
 
102