Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 1976 Rev 1979
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()
98
 
101
    formData.append('comment', comment)
99
  const addComment = (comment) => {
102
 
Línea 100... Línea 103...
100
    axios.post(post.comments_add_url, { comment }).then((response) => {
103
    axios.post(post.comments_add_url, formData).then((response) => {
101
      const { success, data } = response.data
104
      const { success, data } = response.data
102
 
105