Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 5260 Rev 5360
Línea 95... Línea 95...
95
    let timer
95
    let timer
96
    if (!loading) {
96
    if (!loading) {
97
      timer = setTimeout(() => {
97
      timer = setTimeout(() => {
98
        checkUserImage()
98
        checkUserImage()
99
        checkSession()
99
        checkSession()
100
      }, 1000)
100
      }, 2000)
101
    }
101
    }
102
    return () => {
102
    return () => {
103
      clearTimeout(timer)
103
      clearTimeout(timer)
104
    }
104
    }
105
  }, [loading])
105
  }, [loading])