Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 1904 Rev 1906
Línea 28... Línea 28...
28
  const [loading, setLoading] = useState(false)
28
  const [loading, setLoading] = useState(false)
29
  const labels = useSelector(({ intl }) => intl.labels)
29
  const labels = useSelector(({ intl }) => intl.labels)
Línea 30... Línea 30...
30
 
30
 
31
  const handleAccept = () => {
31
  const handleAccept = () => {
-
 
32
    const enableLoading = isPromise(onAccept)
Línea 32... Línea 33...
32
    const enableLoading = isPromise(onAccept)
33
    console.log(enableLoading)
33
 
34
 
-
 
35
    if (!enableLoading) {
34
    if (!enableLoading) {
36
      onAccept()
Línea 35... Línea 37...
35
      onAccept()
37
      return
36
    }
38
    }
37
 
39