Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 6977 Rev 6978
Línea 38... Línea 38...
38
    setIsShowConfirm(!isShowConfirm)
38
    setIsShowConfirm(!isShowConfirm)
39
  }
39
  }
Línea 40... Línea 40...
40
 
40
 
41
  useEffect(() => {
41
  useEffect(() => {
-
 
42
    reset()
Línea -... Línea 43...
-
 
43
  }, [conversation])
-
 
44
 
42
    reset()
45
  useEffect(() => {
43
 
-
 
44
    if (conversation.delete_link) {
46
    const opt = []
45
      options.current.push({
-
 
46
        label: 'Borrar convesación',
-
 
47
        action: toggleConfirmModal,
47
    if (conversation.delete_link) {
-
 
48
      opt.push({ label: 'Borrar convesación', action: toggleConfirmModal })
-
 
49
    }
48
      })
50
 
Línea 49... Línea 51...
49
    }
51
    options.current = opt
50
  }, [conversation])
52
  }, [conversation])
51
 
53