Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 1658 Rev 1659
Línea 43... Línea 43...
43
  const dispatch = useDispatch()
43
  const dispatch = useDispatch()
Línea 44... Línea 44...
44
 
44
 
45
  const actions = useMemo(() => {
45
  const actions = useMemo(() => {
46
    const options = []
46
    const options = []
47
    if (link_delete) {
47
    if (link_delete) {
48
      options.concat({ label: 'Borrar', action: toggleModal })
48
      options.push({ label: 'Borrar', action: toggleModal })
Línea 49... Línea 49...
49
    }
49
    }
50
 
50
 
51
    if (link_abuse_report) {
51
    if (link_abuse_report) {
Línea 52... Línea 52...
52
      options.concat({ label: 'Reportar', action: reportComment })
52
      options.push({ label: 'Reportar', action: reportComment })
53
    }
53
    }