Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 1909 Rev 1910
Línea 24... Línea 24...
24
  animation = true,
24
  animation = true,
25
  showFooter = true,
25
  showFooter = true,
26
  dialogClassName,
26
  dialogClassName,
27
  children
27
  children
28
}) => {
28
}) => {
29
  const [loading, setLoading] = useState(false)
29
  const [loading, setLoading] = useState(true)
30
  const labels = useSelector(({ intl }) => intl.labels)
30
  const labels = useSelector(({ intl }) => intl.labels)
Línea 31... Línea 31...
31
 
31
 
32
  const handleAccept = () => {
32
  const handleAccept = () => {
Línea 43... Línea 43...
43
      console.log('on finally')
43
      console.log('on finally')
44
      setLoading(false)
44
      setLoading(false)
45
    })
45
    })
46
  }
46
  }
Línea 47... Línea -...
47
 
-
 
48
  useEffect(() => {
-
 
49
    console.log(loading)
-
 
50
  }, [loading])
-
 
51
 
47
 
52
  return (
48
  return (
53
    <BootstrapModal
49
    <BootstrapModal
54
      animation={animation}
50
      animation={animation}
55
      className={dialogClassName}
51
      className={dialogClassName}