Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 1332 Rev 1334
Línea 56... Línea 56...
56
  const handleLike = () => {
56
  const handleLike = () => {
57
    setIsLiked(!isLiked)
57
    setIsLiked(!isLiked)
58
    setIsShow(!isShow)
58
    setIsShow(!isShow)
59
  }
59
  }
Línea 60... Línea 60...
60
 
60
 
61
  const handleCopy = () => {
61
  const handleCopy = async () => {
62
    navigator.clipboard.writeText(`${message.m}`)
62
    await navigator.clipboard.writeText(`${message.m}`)
63
      .then(dispatch(addNotification({
63
    dispatch(addNotification({
64
        style: "success",
64
      style: "success",
65
        msg: 'Mensaje copiado en el portapapeles',
65
      msg: 'Mensaje copiado en el portapapeles',
66
      })))
66
    }))
Línea 67... Línea 67...
67
  }
67
  }
68
 
68
 
69
  switch (message.mtype) {
69
  switch (message.mtype) {