Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 15211 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 15211 Rev 15212
Línea 25... Línea 25...
25
			})
25
			})
26
			.catch((err) => console.log(err))
26
			.catch((err) => console.log(err))
27
	}
27
	}
Línea 28... Línea 28...
28
 
28
 
-
 
29
	const deleteComment = (id) => {
29
	const deleteComment = (id) => {
30
		setComment(prev => parseInt(prev) - 1)
30
		setCommentState(commentState.filter((comment) => comment.unique !== id))
31
		setCommentState(commentState.filter((comment) => comment.unique !== id))
Línea 31... Línea 32...
31
	}
32
	}
32
 
33