Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 7219 Rev 7220
Línea 37... Línea 37...
37
  link_edit = '',
37
  link_edit = '',
38
  link_delete = '',
38
  link_delete = '',
39
  link_reaction_delete = '',
39
  link_reaction_delete = '',
40
  link_save_reaction = '',
40
  link_save_reaction = '',
41
  link_add_comment = '',
41
  link_add_comment = '',
-
 
42
  onEdit = () => {},
42
}) => {
43
}) => {
43
  const labels = useSelector(({ intl }) => intl.labels)
44
  const labels = useSelector(({ intl }) => intl.labels)
Línea 44... Línea -...
44
 
-
 
45
  const onEdit = () => {}
-
 
46
 
45
 
Línea 47... Línea 46...
47
  const onDelete = () => {}
46
  const onDelete = () => {}
48
 
47
 
49
  return (
48
  return (
Línea 71... Línea 70...
71
 
70
 
72
        <AnswerActions>
71
        <AnswerActions>
73
          {link_edit && (
72
          {link_edit && (
74
            <button
73
            <button
75
              className="btn feed__share-option"
74
              className="btn feed__share-option"
76
              onClick={() => onEdit(link_edit)}
75
              onClick={() => onEdit(link_edit, text)}
77
            >
76
            >
78
              <EditIcon />
77
              <EditIcon />
79
              {labels.edit}
78
              {labels.edit}
80
            </button>
79
            </button>